This is a basic REST API used to manage a collection of books.
This api was developed using
- NodeJs
- NestJs (v9.4.2)
- TypeORM (PostgreSQL database)
The tools listed below are needed to run this application to run effectively:
- Node (LTS Version)
- Npm v8.3.1 or above
You can check the Node.js and npm versions by running the following commands.
node -v
npm -v
-
Install project dependencies by running
npm install
. -
To compile kindly use
npm build
-
Start the server with
npm start
-
Access endpoints on your desired localhost set port
Unit Tests
npm run test
End to End Tests
npm run test:e2e
The base URL is
http://localhost:3000/api/
The base URL for the live version is
https://book-management-api-2mru.onrender.com/api/
You click here to access the Api Documentation