It is a shopping API designed exclusively for fruit shops and online fruit purchases throughout India. In addition, it can be used as an eCommerce API for any kind of eCommerce website.
It is also possible to set and retrieve the location of fruit farms or stores using this API
The API is hosted here
To see the Fruit Shop API working in action, click the image to visit the live website.
- Visual Studio Code - Code Editor
- Thunder Client - API testing
- Supports CRUD Operations (GET,POST,UPDATE & DELETE)
- Sort, filter and limit the number of products by price, name, and other attributes
- Search Products
- Includes basic pagination
- User Authentication ( Register, Login & Logout )
- Provide access and refresh tokens for users authentication
- Map-based geolocation creation and navigation
git clone https://github.com/fk00750/Fruit-Shop-API.git
This command will copy a full project to your local environment
cd Fruit-Shop-API
npm i
cd Fruit-Shop-API
moves into the project directory.npm i
installs all the required packages.
- Replace the Project MongoDB URL with your MongoDB URL before running the server
- Run
node server.js
ornpx node server.js
to start node server on localhost:3000
For complete documentation of Fruit Shop API you can checkout the following link
Please feel free to contact me via my email address ( [email protected] ) or you can also message me directly on Twitter
You can check out the full license here
This project is licensed under the terms of the MIT license.