Skip to content

sih-sosc/microservice-template

Repository files navigation

MicroService Template

Build the component which requests other API's as a microservice. Use this as a base to build email services and SMS services that takes the details from main server and executes the job.

Setup

clone this repository

$ git clone https://github.com/sih-sosc/microservice-template.git

Installing Dependencies

$ cd microservice-template
$ npm install

Running the server

$ npm start

Running the development server

$ npm run dev

DEVELOPMENT

Add your microservice logic in the main route a.k.a indexroute ('/')

Testing the route

Curl

$ curl -X POST -H "AUTH_KEY: AuthorizationKey" http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published