- Node Js
- Express Js
- MongoDB
- Mongoose
- Mongo Atlas
- Joi
- Cyclic Hosting
-
To run this project via deployed Link. use the below steps.
-
Deployed URL
https://brewapps-backend.cyclic.app
GET https://brewapps-backend.cyclic.app/API/v1/books
GET https://brewapps-backend.cyclic.app/api/v1/book/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of product to fetch |
POST https://brewapps-backend.cyclic.app//api/v1/book-create
Parameter | Type | Description |
---|---|---|
title |
string |
Required. book title |
author |
string |
Required. book author |
description |
string |
Required. book description |
PATCH https://brewapps-backend.cyclic.app/api/v1/book-update/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of a book to update |
DELETE https://brewapps-backend.cyclic.app/api/v1/book-delete/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of a book to delete |
- To run this project, you will need not to add any environment variables to your .env everything is already added. follow the steps to mentioned below to run locally
Clone the project
https://github.com/AmitKuMaurya/BrewApps-backend-app.git
Go to the project directory
cd BrewApps-backend-app
Install dependencies
npm install
Start the server
npm run dev
- Please use the routes and parameters mentioned above on port - 5050 and replace this domain
https://brewapps-backend.cyclic.app
with thishttp://localhost:5050/api/v1/books
only. -- now all the steps are the same as mentioned above from line no.21.
- These both will ensure that the application is running perfectly.
{ msg: 'DataBase Connected Successfully 🌼' }
{ msg: 'Server is Listing on Port 5050 🤙' }
- Thanks For Visiting Here