Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akashsnar/guestara_node
https://github.com/akashsnar/guestara_node
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/akashsnar/guestara_node
- Owner: Akashsnar
- Created: 2025-01-24T05:20:51.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2025-01-24T05:54:46.000Z (14 days ago)
- Last Synced: 2025-01-24T06:25:56.636Z (14 days ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# guestara_node
# start project
1. clone this repo and open the folder
2. run the " npm install " command to install all required files
3. create .env file update your mongoDB URL.
4. Use Postman or Thunder client to call API and get dataApis
Get Apis
1. /categories - get all categories
2. /category/:id - get category by id
3. /sub/subcategories - get all subcategories
4. /sub/subcategories/:id - all subcategories in a category by id
5. /sub/subcategory/:id - get sub-category by id
6. /item/items - get all items
7. /item/itemname/:name - search item by item-name
8. /item/items/:id - all items in a category
9. /item/subitems/:id - all items in a category
10. /item/item/:id - item by item idPost Apis
1. /addCategory -> add category
2. /editcategory/:id -> add category
3. /sub/addSubCategory -> add category
4. /sub/editsubcategory/:id -> add category
5. /item/addItem -> add category
6. /item/edititem/:id -> add category# technologies
NodeJS, express, mongoose