A back-end web development project by Dan Yang
https://github.com/xchris1015/basketball https://github.com/di1025/NationalResortBooking https://github.com/cowboybebophan/SneakerShop
This application is developed using Spring Boot, Spring Data, Spring RESTful web services, Maven, PostgreSql, Docker, Amazon SQS, Amazon S3.
- Users are provided restaurant information with custom reviews then reserved the restaurant after sign in authorities.
- The restaurant information need to be created before searching.
- The relation between restaurant and review is "One to Many", the relationship between player and player statistics is "One to One". Approach
- Clone the project
git clone https://github.com/Roma0/RestaurantReservation
- Set PostgreSql database server using Postgres docker image
docker pull postgres docker run --name ${DB_Container_Demo} -e POSTGRES_DB=${DB_Demo} -e POSTGRES_USER=${username} -e POSTGRES_PASSWORD=${password} -p 5432:5432 -d postgres
- Create Unit database on PGAdmin for unit testing
create database DB_unit_test;
- Environment properties configuration
# Application-unit.properties Location: ./src/main/resources/META-INF/env # Template: database.driverName=${driverName} database.url=${url} database.port=${port} database.name=${name} database.username=${username} database.password=${password}
# Application-unit.properties Location: ./src/main/resources/META-INF # Template: jwt.secret= jwt.expiration= jwt.header=
Command:
mvn compile -Dspring.profiles.active=${env}