Angular 9 (frontend) ExpressJS (API) MongoDB (database)
-
clone the project
-
run the database :
- Using Docker :
- open a Command terminal in the project root
- type > docker-compose database
- Without Docker :
- Download MongoDB compass
- Create a database with the name
Tournament-Masterpiece
- https://i.imgur.com/oCuVvJl.png
- Click on create Collection, and create 2 collections with the name
tournaments
andusers
- Using Docker :
-
run the API
- Using Docker :
- open a Command terminal in the project root
- type
docker-compose database
- Without Docker:
- open a Command terminal in the project /back directory
- Type :
npm install npm run dev
it will open a server on localhost:3000
- Using Docker :
-
run the frontend
- open a Command terminal in the project /app directory
-
npm install ng serve
- it will open a server on localhost:4200
-
Once everything is running, open your navigator in localhost:4200