This repository contains a backend project for managing books using Express.js and Prisma ORM. It provides functionality for creating, reading, updating, and deleting books, as well as authentication and authorization features.
To get started with the project, follow these steps:
-
Clone the repository:
git clone <repository_url>
-
Install dependencies:
npm install
-
Set up environment variables:
Create a .env
file in the root directory and define the following variables from .env.example
-
Run database migrations:
npm run migrate
-
Seed the database (optional):
npm run db-seed
-
Test with postman. Please import documentation from
/docs
into postman for testing all api available -
Start the server:
npm run start:dev
This project is licensed under the ISC License.