API for surveyed package
Majorly for survey generation
npm install
- Create a
.env
file in the root of the project - Paste the below code in
.env
file and configure it according to your app, then - Go to
http://localhost:7000/api/users/all
to see it in action
NODE_ENV=development
PORT=7000
MONGODB_URI=mongodb://<DB_USERNAME>:<DB_PASSWORD>@<DB_ADDRESS>:<DB_PORT>/<DB_NAME>
...
- Create a
.env
file in the root of the project - Store your environment variables in this file, in the above defined format
- Contains all your server specific code