المشاريع
عرض على GitHub
hmake98/fastify-typescript
حول
Fastify typescript boilerplate with Prisma
الأنظمة والبنية التحتيةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- +١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل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
- Check out the Prisma docs
- Check out the Fastify docs
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…