This example application was created for the tutorial 'Build and deploy a modular monolith with Platformatic'.
This is a generated Platformatic Runtime application.
Platformatic supports macOS, Linux and Windows (WSL recommended). You'll need to have Node.js >= v18.8.0 installed.
This is a monorepo which is configured to work with with pnpm. It's recommended that you have it installed so you can easily run commands for multiple services, but you can use npm if you prefer.
- Install dependencies:
pnpm install
- Create
.env
files for each service:
pnpm run -r configure
- Apply migrations for all service databases:
pnpm run -r migrate
- Seed all service databases:
pnpm run -r seed
Run the Runtime app with:
pnpm start
Adding a new service to this project is as simple as running create-platformatic
again, like so:
pnpm exec create-platformatic