- Docker
- Docker Compose
Clone this repository
git clone https://github.com/rdemetrescu/OnlineStoreDemo
Enter the repository
cd OnlineStoreDemo
Copy env.sample
to .env
(inside backend
folder)
cp backend/.env-example backend/.env
Build and start the app
make run
If you run docker ps
you should see 2 news containers running. If you don't see both of them running the project (speciall when you run the project for the first time), please execute make run
again.
Now the server is running and you can access the app REST api documentation using one of the below:
- Swagger http://localhost:8000/docs
- Redoc http://localhost:8000/redoc/
make test
- Stopping containers
make stop
- Remove containers and database volume
make down