savannah-Silica / e-commerce-api

E-commerce platform API: Customers can browse products, add items to their cart, checkout, and make payments.
MIT License
2 stars 8 forks source link
api django django-rest-framework ecommerce-application hacktoberfest python

E-Commerce Backend with Django REST Framework

Welcome to the open-source e-commerce backend project powered by Django REST Framework. This project aims to provide a robust and flexible API for building e-commerce applications. Contributors like you play a crucial role in enhancing this project's features and making it even better.

Getting Started

Before diving into the project, make sure you're familiar with Django and Django REST Framework. If not, you can refer to their official documentation:

Also checkout the project's ER-Diagram

https://drawsql.app/teams/oma-collins/diagrams/e-commerce-api

To get started with this project, follow these steps:

  1. Fork this repository: Click the "Fork" button at the top right of this GitHub page to create a copy in your GitHub account.

  2. Clone your fork: Clone the repository to your local development environment using git clone.

  3. Install dependencies: Install the required Python packages using pip install -r requirements.txt.

  4. Apply migrations: Run Django migrations to create the database schema: python manage.py migrate.

  5. Create a superuser: Create a superuser account to access the Django admin panel: python manage.py createsuperuser.

  6. Run the development server: Start the Django development server with python manage.py runserver.

Now you should be able to access the project at http://localhost:8000/ and the Django admin panel at http://localhost:8000/admin/.

Project Overview

This e-commerce backend project provides a powerful API for building e-commerce websites and applications. Here's an overview of its main features:

Features to be implemented

Contributing

We welcome contributions from the community to make this project better. Here's how you can contribute:

  1. Fork this repository.

  2. Create a new branch: Work on your feature or bug fix in a new branch. Use a descriptive name for your branch, e.g., feature/new-feature.

  3. Make your changes: Implement your feature or fix the bug. Please follow our coding guidelines and make sure your code is well-documented.

  4. Test your changes: Ensure that your changes don't break existing functionality, and write tests if necessary.

  5. Submit a Pull Request (PR): When you're ready, submit a PR to the main branch of this repository.

  6. Review and feedback: Your PR will be reviewed by maintainers. Address any feedback and make necessary changes.

  7. Merge: Once your PR is approved, it will be merged into the main branch.

License

This project is licensed under the MIT License - see the LICENSE file for details.