Backend engineering, supercharged.
Use this repository to get up and running on FL0 with the following stack:
Language | Javascript |
---|---|
Framework | Nest |
Router | Express |
ORM | TypeORM |
Database | Postgres |
We recommend using the provided Docker Compose configuration for local development. Our Docker configuration includes:
- Automatically create both database and app server easily
- Hot-reloading of code for local development
- Production-ready minified image
- Database admin interface using Cloudbeaver
However, you can still use this repo without Docker! See the instructions below.
docker compose up
(initial build can take a couple of mins)- That's it! Visit http://localhost:8080 to see your app running
If you don't want to use Docker, make sure you have a Postgres database that you can connect to.
npm install
- Copy the provided
.env.example
file and rename it to.env
npm run start:dev
- Visit http://localhost:8080 to see your app running
Checkout our Getting Started Guide in the FL0 documentation!
If you use our Docker Compose file you have access to a local instance of Cloudbeaver. To access it, navigate to:
- Navigate to http://localhost:8081
- Follow the setup wizard to create your admin account
- Add a new connection using the PostgreSQL driver and the URL below
jdbc:postgresql://db:5432/fl0-starter-db?user=admin&password=admin
If you have any questions about FL0 or this template codebase please head on over to our Discord channel.
Any issues or feature requests can be raised on the Issues page of this repo.
This template repository is MIT licensed.