Skip to content

ErickWendel/nodejs-with-mongodb-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js with MongoDB Example

Swagger Page of that application

Requirements

  • Node.js v10+
  • MongoDB running on local instance

Environment Variables

  • PORT: 3000
  • MONGO_URL: localhost:27017

Running

  • Install dependencies - npm i
  • Build typescript - npm run build
  • Run project - npm start
  • Go to swagger page - localhost:3000/

Development with Watch Compiler

  • Run once - npm run dev
  • Run and watch files - npm run dev:watch

About

Node.js Web API example using Hapijs and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published