Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

microservice-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microservice-boilerplate

Boilerplate for new microservice projects (babel + eslint)

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Microservice Boilerplate

Start

Edit .env file and set vars.

Auth Service

Please start your auth service and set host in .env

ZSH users

If you edit the .env file you need to reload with:

. ~/.zshrc

Automatic (docker build, n2k8 for k8 resources and sh createk8.sh)

npm run full

Manual Steps

Build Docker

docker build -t microservice-boilerplate .

Build Kubernetes Files

Run:

n2k8

and follow the cli.

Create resources

sh ./scripts/createk8.sh  
or  
chmod +x && ./scripts/createk8.sh

Delete resources

sh ./scripts/deletek8.sh  
or  
chmod +x && ./scripts/deletek8.sh

Database connection

Check config/config.js for env vars that need to be set.

Sequelize ORM

Packages for postgres installed. If you want to use MySQL or SQLite, please install the respective packages.

FAQs

Package last updated on 19 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc