Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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