Skip to content

A RESTful API similar to OLX, allowing users to register, login for access token. Sell, buy, and explore products, search by query or tag.

License

Notifications You must be signed in to change notification settings

PrathameshDhande22/2nd-Product-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest API: 2nd Product API

GitHub

forthebadge

forthebadge

Description:
2nd Product API is a RESTful API similar to the OLX website. Users can register and login to obtain an access token, enabling them to explore the API, sell products, buy items, and add products to their cart. The API provides powerful search capabilities, allowing users to find products based on queries, tags, or view all available products.

Made with:

  • Python
  • FastAPI
  • Pydantic Models
  • Mongoengine

API Documentation:
https://twondproductapi.onrender.com

License:
This project is licensed under the MIT License. License File

API Link:
https://twondproductapi.onrender.com/

Running the API Locally:

  1. Clone the repository:
git clone https://github.com/PrathameshDhande22/2nd-Product-API.git
  1. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:
    • On Windows:
    venv\Scripts\activate
    
    • On macOS and Linux:
    source venv/bin/activate
    
  2. Install dependencies:
pip install -r reqirements.txt
  1. Edit .env file:
MONGODB_URI="Your MongoDB URI"
SECRET_KEY="Your Secret Key"
  1. Run the run.py file:
python run.py

Author : Prathamesh Dhande

About

A RESTful API similar to OLX, allowing users to register, login for access token. Sell, buy, and explore products, search by query or tag.

Topics

Resources

License

Stars

Watchers

Forks

Languages