This is the api for polls-frontend (pollsimply.com)
- Node.js - Node.js is an open-source, cross-platform, back-end, JavaScript runtime environment
- Nest.js - A progressive Node.js framework
- Digital Ocean - Cloud service to deploy applications
- PM2 - For running the apps on the Digital Ocean droplet
Firstly install all dependencies
npm i
Then run
npm run start
This is deployed on digital ocean under the domain api.pollsimply.com.
You will need to have a ssh key set up and have an authenticated user with admin privileges set up on the server. You can find information to set that up here
ssh YOUR_USERNAME@209.97.133.120
sudo -i
cd /root
pm2 status
This will display the running applications on the server
Make sure you are in the root dir and run this command:
pm2 logs
- Env files can be found in 1password