Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.35 KB

README.md

File metadata and controls

61 lines (38 loc) · 1.35 KB

pdf-me

lerna

Overview

Pdf-me is SaaS system designed to delivery document generation service build in micro-services architecture using variety of tools but mostly based on NestJs framework. Unfortunately this system has little to no value as SaaS product, it's role is to rather work as a kind of showcase.

Development

Requirements

To start system in development mode there is necessary to have installed couple of dependencies. First of all Node js in version at least 14, also docker and docker-compose.

Start procedure

First of all you have to prepare environment variables for ewach service. Simply in each service folder execute

cp .env.example .env

To start system in development mode first of all install main dependencies. In project root run:

npm install

And install services dependencies:

lerna bootstrap

Then build shared modules:

lerna run build --scope=@pdf-me/shared --parallel

or in watch mode:

lerna run build:watch --scope=@pdf-me/shared --parallel

Then start database, rabbitMQ, redis and cloudserver:

docker-compose up

After that start other services in development:

lerna run start:dev --ignore=@pdf-me/shared  --parallel

Production

TODO