A simple basic store management system API built with Django Rest Framework (DRF) for the FletX showcase at PyCon Togo 2025.
Fake Store is a demonstration project designed to showcase the capabilities of the FletX framework. This API serves as the backend for an e-commerce application developed specifically for the FletX showcase at PyCon Togo 2025. It provides a straightforward and effective solution for managing products, orders, and users, highlighting the integration and efficiency of FletX in developing full-stack applications.
- Product Management: Add, modify, delete, and view products.
- Order Management: Create, view, and track orders.
- User Management: Register, authenticate, and manage user profiles.
- Intuitive and well-documented API interface.
Before you begin, ensure you have the following installed:
- Python 3.11 or higher
- Django 5.2.4 or higher
- Django Rest Framework
- uv (recommended for dependency management)
- Clone the repository:
git clone https://github.com/AllDotPy/fake-store-api.git
cd fake-store- Create a virtual environment and activate it:
uv venv --python 3.11
source venv/bin/activate # On Linux/Mac
venv\Scripts\activate # On Windows- Install dependencies with uv:
uv sync- Set up the database:
python manage.py migrate- Create a super user
python manage.py createsuperuser- Run the development server:
python manage.py runserverOnce the server is running, you can access the API at the following URL: http://localhost:8000/.
Refer to the API documentation for more details on available endpoints and their usage.
to create generic products with categories run:
python manage.py populate
# this will create 100 products use -l to specify the number of products.Contributions are welcome! To contribute to this project, follow these steps:
- Fork the project
- Create a branch for your feature (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or suggestions, feel free to contact us at: hello@alldotpy.com
Feel free to customize this template according to the specifics of your project and any additional information you want to include.