Skip to content

erwienwijaya/node-express-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Users Rest API

Requirement Development:

  • Node 16.13
  • Npm 8.1
  • MongoDB 5.0.3

Installation

  • Clone this repository git clone https://github.com/erwienwijaya/node-express-api.git
  • Copy or duplicate file .env.example and then rename .env
  • Config inside file .env (optional)
  • Config file .env set APP_DEBUG = true (for Development and Test) or APP_DEBUG = false (for Production)
  • Install requirements dependencies: npm install
  • Run node server: npm run dev
  • Access the project at: http://localhost:3000

Testing

  • Run test: npm test

Documentation

  • Access the API documentation at: http://localhost:3000/api/docs/

Demo

  • Access url: https://my-node-express-api.herokuapp.com/api/docs

About

NodeJS - Demo Rest API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published