Skip to content

Micro: An example of building microservices in Node.js with a REST and GraphQL API. Run with Lerna.

Notifications You must be signed in to change notification settings

nicholaspretorius/micro

Repository files navigation

Node.js Microservice Example

This is a small example of a microservice in Node.js. It uses Apollo to run a GraphQL API which serves as a gateway to a REST API for the database layer, a CloudAMQP message queue as well as a Mailjet mail service.

  • npm i
  • pm2 start ecosystem.config.js
  • pm2 logs
  • pm2 monit
  • pm2 stop all
  • pm2 start all
  • pm2 delete all

GraphQL API on: http://localhost:4000 GraphiQL on: http://localhost:4000/graphql REST API on: http://localhost:3001/mail

About

Micro: An example of building microservices in Node.js with a REST and GraphQL API. Run with Lerna.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published