An open API service indexing awesome lists of open source software.

https://github.com/anishvermaishere/polls-api

this is an express server for poll api
https://github.com/anishvermaishere/polls-api

express googleauth joins jwt-authentication jwt-authorization jwt-token mongodb mongoose nodejs rest-api

Last synced: 2 months ago
JSON representation

this is an express server for poll api

Awesome Lists containing this project

README

          

# Touchpoll Backend
## Poll REST API server built in Node and Express JS

**To use api follow these steps**

1. Download this code as zip or as and open visual studio code with terminal and run command

```
npm install

```

2. Then create **`.env`** file into your app/project folder not in **`src`** which you created, open the **`.env`** file and type the line

```
SERVER_PORT=
DB_CONNECT_URL=
JWT_PRV_KEY=

```
and save it.

4. After the installation of all dependencies and environment setup. Now, you have to run last command

```
npm start

```

5. Now your server will start successfully.