This project will show how to dockerize and run a full stack project(angular,spring,mongoDB).
##Instruction:
To run both backend and frontend by building the docker files.
docker-compose.yml
- Download from Github.
git clone https://github.com/CutupAngel/spring-boot-angular-docker.git
- Build Spring Boot into Executabe Jar using MVN.
cd Backend mvn clean package && java -jar target/app.jar
- Run Docker
docker-compose up
- Create
asmd_mongo_db
Database and createroles
collection using mongoExpress(localhost:8081
) Insert 2 roles intoroles
collectionROLE_USER ROLE_ADMIN