Skip to content
Proyectos

hmake98/fastify-typescript

Ver en GitHub

Acerca de

Fastify typescript boilerplate with Prisma

Sistemas e infraestructura

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Fastify-Typescript

Typescript based rest-API boilerplate with prisma and fastify framework.

How to use

1. Clone this repo & install dependencies

Install Node dependencies:

npm install

2. Set up the database

This uses Postgres database.

To set up your database, run:

npm run migrate

for production

npm run migrate:prod

3. Generate Prisma Client (type-safe database client)

Run the following command to generate Prisma Client:

npm run db:gen

4. Start the Fastify server

Launch your Fastify server with this command:

npm run dev

For Build Generation

Build server with command:

npm run build

Prisma documentation

Explorar proyectos relacionados

Cargando…