The final project which is a graduation requirement to complete the Back-End Basic Course.
- Clone this repository
https://github.com/panditya/bookshelf-api.git - Change directory and copy
.envfrom.env.examplethen adjust the configuration - Install the required dependencies
npm ioryarn install - Run the application
- Development mode
npm run devoryarn dev - Production mode
npm run startoryarn start
- Development mode
Or if you prefer using Docker
- Clone this repository
https://github.com/panditya/bookshelf-api.git - Change directory and copy
.envfrom.env.examplethen adjust the configuration - Build the application image
docker build -t panditya/bookshelf-api . - Check the image once complete
docker images - Build and run the image
docker run --name bookshelf-api -p 80:5000 -d panditya/bookshelf-api - Inspect the container to make sure is up and running
docker ps