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
.env
from.env.example
then adjust the configuration - Install the required dependencies
npm i
oryarn install
- Run the application
- Development mode
npm run dev
oryarn dev
- Production mode
npm run start
oryarn start
- Development mode
Or if you prefer using Docker
- Clone this repository
https://github.com/panditya/bookshelf-api.git
- Change directory and copy
.env
from.env.example
then 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