35 lines
727 B
Markdown
35 lines
727 B
Markdown
# fastify-drizzle-quick-start
|
|
|
|
Quick start for Fastify, TypeScript, ESlint, Prettier and DrizzleORM
|
|
|
|
|
|
## Quick Start
|
|
|
|
### Comes equipped with
|
|
|
|
- Dockerfile including postgres and redis
|
|
- TypeScript
|
|
- XO
|
|
- Prettier
|
|
- DrizzleORM
|
|
- Fastify
|
|
- Zod
|
|
|
|
### Prerequisites
|
|
|
|
- [Docker](https://docs.docker.com/get-docker/)
|
|
- [Yarn](https://yarnpkg.com/getting-started/install)
|
|
- [NodeJS](https://nodejs.org/en/download/)
|
|
|
|
|
|
### Getting Started
|
|
|
|
1. Clone the repo
|
|
2. Run `yarn install`
|
|
3. Run `docker-compose up -d` (-d to detach from the terminal)
|
|
4. Run `yarn dev` to start the dev server
|
|
5. Make your changes
|
|
6. Run `yarn lint` to lint your code
|
|
7. Run `yarn build` to build the project
|
|
8. Run `yarn start` to start the production server
|