https://github.com/thecodingmontana/nest-book-store
Book Store API built with NestJS, Prisma and Supabase (Database)
https://github.com/thecodingmontana/nest-book-store
nestjs nestjs-backend prisma supabase
Last synced: about 2 months ago
JSON representation
Book Store API built with NestJS, Prisma and Supabase (Database)
- Host: GitHub
- URL: https://github.com/thecodingmontana/nest-book-store
- Owner: thecodingmontana
- Created: 2023-02-09T10:59:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-20T15:13:34.000Z (over 2 years ago)
- Last Synced: 2025-03-28T01:50:24.761Z (2 months ago)
- Topics: nestjs, nestjs-backend, prisma, supabase
- Language: TypeScript
- Homepage: https://api-book-store.vercel.app/
- Size: 113 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
Nest Book Store API.
## Installation
```bash
npm install
```## Running the app
```bash
# development
$ npm run start# watch mode
$ npm run start:dev# production mode
$ npm run start:prod
```## Test
```bash
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e# test coverage
$ npm run test:cov
```## API routes
```json
# 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