Skip to content

DevHumbleChris/nest-book-store

Repository files navigation

Nest Logo

Description

Nest Book Store API.

Installation

npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

API routes

# Get all books
GET api/books

# Get book details of a specific id.
GET api/book/:id

# Add new Book.
POST api/book/add-new
{
  "title": "String",
  "author": "String",
  "imageURL": "String",
  "type": "PString"
}

# Update Book of a specific id.
PUT api/book/:id/update
{
  "title": "String",
  "author": "String",
  "imageURL": "String",
  "type": "PString"
}

# Delete Book of a specific id.
DELETE api/book/:id/delete

About

Book Store API built with NestJS, Prisma and Supabase (Database)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published