Welcome to the API documentation! This document provides information on how to access and explore the API endpoints using Swagger.
To access the source code and documentation, follow these steps:
-
Open your terminal or command prompt.
-
Navigate to the directory where you want to clone the repository.
-
Use the following command to clone the repository:
git clone https://github.com/Jayteemighty/E-commerce-backend.git
Before accessing the API documentation, ensure that you have the necessary dependencies installed and the server running. Follow these steps:
-
Navigate to the root directory of the cloned repository.
-
Install the required dependencies using the following command:
pip install -r requirements.txt
-
Start the server by running the following command:
python manage.py runserver
-
To access the API documentation using Swagger, follow these steps:
-
Open your web browser. Enter the following URL in the address bar:
http://localhost:8000/swagger/
This URL points to the Swagger UI interface for the API documentation.
-
Press Enter to navigate to the Swagger interface.
-
Explore the API endpoints, request parameters, and response schemas using the Swagger UI.
The API documentation provides comprehensive information on the available endpoints and how to interact with them. If you have any questions or issues, feel free to reach out through tolujosh1@gmail.com.
Thank you for using our API!