This project is a simple and lightweight CRUD (Create, Read, Update, Delete) API built using Fastify (a blazing-fast Node.js web framework), Prisma ORM for type-safe database interactions, and SQLite for a simple file-based database.
- Fastify: Fast and low-overhead web framework for Node.js.
- Prisma ORM: Modern TypeScript ORM for database access.
- SQLite: Lightweight, serverless, file-based relational database.
The purpose of this demo is to:
- Demonstrate how to build a RESTful API with Fastify.
- Show how to integrate Prisma ORM with SQLite for simple database operations.
- Serve as a starting template for future full-stack applications.
- Help developers quickly prototype backend logic without complex infrastructure.
PORT=9055
FASTIFY_ADDRESS="0.0.0.0"
DATABASE_URL="file:./dev.db"