- With Docker - Easy way
docker build -t riddles-api .
docker run -it -p 9090:9090 riddles-api
- Without Docker
- Check if
node
is installed
node -v
# if this throws error, then install nodejs
# link - https://nodejs.org/en/download/
- After cloning the repository,
cd
to project folder
npm install
- After all packages are installed, start the server
npm start
# or
nodemon server.js