Skip to content

Nietzen/microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moleculer

Moleculer is a progressive microservices framework for Node.js.

Website: https://moleculer.services

Documentation: https://moleculer.services/docs

Get Started

In order to understand the project stack is important to understand:

Local Development Setup

Install dependencies:

This project requires node version 10.16.1. You can use NVM to select the correct version of node.

cd APIGateway
nvm use
yarn install
cd FirstMoleculer
nvm use
yarn install

Create a .env file, copy the .env.dev file and rename to .env and setup your configuration to the .env file.

Run the project from the command line for development:

cd FirstMoleculer
nvm use
yarn run dev

In a other terminal

cd APIGateway
nvm use
yarn run dev

Production Setup

Requirements

Build First Moleculer

cd FirstMoleculer
./docker-build <username>/<name> <tag>

Build API Gateway

cd APIGateway
./docker-build <username>/<name> <tag>

Run Docker Compose

If you change the project and you run a build then change the images on docker-compose.yml on root folder

Exec:

docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published