/bookstore-api

Welcome to the Nest.js Bookstore APIs project! This repository showcases the implementation of a robust bookstore API using Nest.js, Prisma.js, and PostgreSQL. The APIs support essential features such as ordering books, canceling orders, and efficiently listing purchased books with infinite scroll.

Primary LanguageTypeScript

bookstore-api

Project Setup

Before running this project, make sure to follow these steps:

  1. Install Dependencies:

npm i

  1. Set Up PostgreSQL Database:

Create a PostgreSQL database named "bookstore" to store the bookstore information.

  1. Database Configuration:

Update the database connection configuration in the .env file to match your PostgreSQL credentials.

  1. Run the Project:

npm run start:dev

Note: Make sure you have Node.js and PostgreSQL installed on your system before proceeding.