Skip to content

A Moleculer-based microservice that stores data in the database

Notifications You must be signed in to change notification settings

peterdee/moleculer-database

Repository files navigation

moleculer-database

Known Vulnerabilities

A Moleculer-based microservice that stores data in the database.

Generated with the Moleculer CLI.

Stack: Node, Moleculer.

More information: https://www.youtube.com/watch?v=t4YR6MWrugw

DEV: http://localhost:5522

STAGE: https://moleculer-database.herokuapp.com

Deploy

git clone https://github.com/peterdee/moleculer-database.git
cd ./moleculer-database
nvm use 14.4.0
npm i

Environment variables

The .env file is required. See the .env.example for more details.

Launch

This will launch the services locally:

npm run dev

Services will be available at http://localhost:5522 (you can change the port in the .env file).

Build

Docker and Docker-Compose are required for the build.

Build and run the containers:

npm run dc:up

Services will be available at http://localhost:3000 (see the docker-compose.yml file for details).

Stop containers:

npm run dc:down

Heroku

The staging branch is deployed to Heroku automatically.

Authentication

See the AUTHENTICATION.md for more information about the microservice authentication.

APIs

See the APIS.md for more information about the available APIs.

About

A Moleculer-based microservice that stores data in the database

Topics

Resources

Stars

Watchers

Forks