Skip to content

Error838/E-Com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Com Website

Introduction

This is a basic Django web application with REST APIs for a fictional e-commerce store, excluding the frontend. The app supports two types of user roles: Admin and Customer. The APIs have been designed using Django Rest Framework and tested using Postman.

Installation

  1. Clone the repository to your local machine using the following command:

git clone https://github.com/Error838/E-Com.git

  1. Navigate to the project directory:

cd your-project-directory

  1. Create a virtual environment:

python -m venv venv

  1. Activate the virtual environment:

    For Windows:

    venv\Scripts\activate

    For Linux/Mac:

    source venv/bin/activate

  2. Install the project dependencies:

pip install -r requirements.txt

  1. Set up the database:

python manage.py migrate

Running the Application

To run the application, execute the following command in your terminal or command prompt:

python manage.py runserver

Once the server is running, you can access the application in your web browser at http://localhost:8000/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages