Skip to content

nitaliano/starter-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation and Usage

$ git clone https://github.com/unboundfire/starter-api.git
$ cd starter-api
$ npm install
$ npm start

Env file setup

I'm using dotenv for my enviroment file. All you'll need to do is create a file called .env and set the port in the file.

PORT=3000
NODE_ENV=development
API_PREFIX=/api/v1
TOKEN_SECRET=shhhhh
TOKEN_ALG=HS512
MONGO_URL=mongodb://localhost/test

About

Boilerplate api for express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published