https://github.com/ashwani-199/ecommerceadmin
Ecommerce App with Admin Dashboard Panel & RestFul Apis
https://github.com/ashwani-199/ecommerceadmin
admin-dashboard customized-project django django-rest-framework ecommerce-application jinja2-templates rest-api swagger-ui
Last synced: over 1 year ago
JSON representation
Ecommerce App with Admin Dashboard Panel & RestFul Apis
- Host: GitHub
- URL: https://github.com/ashwani-199/ecommerceadmin
- Owner: ashwani-199
- Created: 2024-08-27T15:45:46.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T10:39:12.000Z (over 1 year ago)
- Last Synced: 2025-02-05T06:45:30.104Z (over 1 year ago)
- Topics: admin-dashboard, customized-project, django, django-rest-framework, ecommerce-application, jinja2-templates, rest-api, swagger-ui
- Language: SCSS
- Homepage:
- Size: 4.37 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ecommerce App with Admin Dashboard Panel & RestFul Apis
## Introduction
This project is a Ecommerce app application developed with Admin Dashboard Panel. It comes with a Postman collection for easy API testing and interaction.
## Prerequisites
Before you begin, ensure you have Python installed on your system. If you do not have Python installed, you can download it from [python.org](https://www.python.org/downloads/).
## Setup Instructions
### 1. Clone the Repository
Start by cloning the repository to your local machine. Open a terminal and run the following command:
git clone ``
Replace `` with the actual URL of the repository.
### 2. Create a Virtual Environment
Navigate into the project directory:
cd path/to/cloned/repo
Create a virtual environment using Python 3.9.6:
python3.9 -m venv env
Activate the virtual environment:
- On Windows:
env\Scripts\activate
- On macOS and Linux:
source env/bin/activate
### 3. Install Dependencies
Install all the required packages from the `requirements.txt` file:
`pip install -r requirements.txt`
### 4. Environment Variables
Copy the content from the `example.env` file to a new file named `.env` in the project's root directory. This file should contain your database and secret key configurations. Update the `.env` file with your database details:
DATABASE_NAME="Your Database Name"
DATABASE_USER=postgres
DATABASE_PASSWORD=12345
DATABASE_HOST=localhost
DATABASE_PORT=5432
### 5. Database Migrations
Apply the Django model migrations to create the necessary database tables:
`python manage.py migrate`
### 6. Run the Development Server
Finally, start the Django development server:
`python manage.py runserver`
The application will now be running and accessible at `http://127.0.0.1:8000/`.
### 7. Postman Collection
The project includes a Postman collection in `postman` folder that contains all the APIs you can use to interact with the application.
Once imported, you can start testing the APIs using the predefined requests.
## Conclusion
You have successfully set up the Ecommerce App with Admin Dashboard on your local development environment. Refer to the Postman collection for testing the APIs and to the project documentation for further customization and development.