This repository contains a CRUD (Create, Read, Update, Delete) application built using Prisma with Express in TypeScript. Prisma is an open-source database toolkit that makes it easier to work with databases in your Node.js or TypeScript applications.
- CRUD Operations: Easily perform create, read, update, and delete operations on your database.
- Prisma Client: Utilizes Prisma Client for efficient database access.
- Express Integration: Built with Express, a fast, unopinionated, minimalist web framework for Node.js.
- TypeScript Support: Leverages TypeScript for more reliable and maintainable code.
To install and run this project, follow these steps:
- Clone the repository:
git clone https://github.com/eduardorossetti/crud-prisma.git
- Navigate to the project directory:
cd crud-prisma
- Install dependencies:
yarn install
- To start the application in development mode, run:
yarn run dev
This will start the server with nodemon
, which will automatically restart the server upon any file changes.
@prisma/client
: Prisma Client for database interactions.express
: Web framework for creating the API server.crypto
: For cryptographic functionalities.
typescript
: For using TypeScript.ts-node
: To execute TypeScript files.prisma
: Prisma CLI for database schema migrations.nodemon
: For automatically restarting the server.@types/express
: TypeScript definitions for Express.
This project is licensed under the MIT License - see the LICENSE file for details.