2024-04-17 14:08:16 +00:00
|
|
|
# fastify-jsdoc-quick-start
|
2023-06-10 00:37:36 +00:00
|
|
|
|
2024-04-17 14:08:16 +00:00
|
|
|
Quick start for Fastify, JSDoc, ESlint, Prettier and DrizzleORM
|
2023-06-10 00:57:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Quick Start
|
|
|
|
|
|
|
|
### Comes equipped with
|
|
|
|
|
|
|
|
- Dockerfile including postgres and redis
|
2024-04-17 14:08:16 +00:00
|
|
|
- JSDoc type annotations
|
2023-12-13 19:37:47 +00:00
|
|
|
- XO
|
2023-06-10 00:57:19 +00:00
|
|
|
- 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
|
2024-04-17 14:08:16 +00:00
|
|
|
7. Run `yarn start` to start the production server
|
|
|
|
|
|
|
|
|
|
|
|
# Credits
|
|
|
|
|
|
|
|
Originally cloned from https://github.com/Looskie/fastify-drizzle-quick-start and transformed to use JSDoc over Typescript
|