Skip to content

This repository generates a microservice boilerplate in NodeJS using the Express framework

Notifications You must be signed in to change notification settings

davideroffo/nodejs-express-microservice-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-express-microservice-boilerplate

This repository generates a microservice boilerplate in NodeJS using the Express framework.

How to run the service

  • npm start: run the service in production mode
  • npm run dev: run the service in development mode with nodemon active
  • npm run test: run tests with jest and supertest

Test the ssample /api/v1/users route:

You can test if everything is working doing these steps:

The sample response should be:

{
	"users": [{
		"username": "dave"
	}, {
		"username": "Mike"
	}]
}

Dependencies

Main dependencies:

  • express
  • helmet
  • winston
  • express-winston

Development dependencies:

  • nodemon
  • jest
  • supertest

About

This repository generates a microservice boilerplate in NodeJS using the Express framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published