Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/looskie/fastify-drizzle-quick-start
Quick start for Fastify, TypeScript, XO, Prettier and DrizzleORM w/ Postgres and Redis
https://github.com/looskie/fastify-drizzle-quick-start
drizzle drizzleorm fastify starter typescript
Last synced: 10 days ago
JSON representation
Quick start for Fastify, TypeScript, XO, Prettier and DrizzleORM w/ Postgres and Redis
- Host: GitHub
- URL: https://github.com/looskie/fastify-drizzle-quick-start
- Owner: Looskie
- Created: 2023-06-09T23:58:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T19:38:46.000Z (about 1 year ago)
- Last Synced: 2024-12-30T02:24:55.232Z (23 days ago)
- Topics: drizzle, drizzleorm, fastify, starter, typescript
- Language: TypeScript
- Homepage:
- Size: 199 KB
- Stars: 19
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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