https://github.com/kayprogrammer/ecommerce-store-drf
An ecommerce API built in Django Rest Framework and PostgreSQL
https://github.com/kayprogrammer/ecommerce-store-drf
Last synced: 20 days ago
JSON representation
An ecommerce API built in Django Rest Framework and PostgreSQL
- Host: GitHub
- URL: https://github.com/kayprogrammer/ecommerce-store-drf
- Owner: kayprogrammer
- License: mit
- Created: 2024-07-27T20:12:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-21T22:10:52.000Z (12 months ago)
- Last Synced: 2025-07-26T01:26:10.183Z (7 months ago)
- Language: Python
- Homepage: https://estore-drf.fly.dev
- Size: 3.81 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ECOMMERCE STORE (DJANGO REST FRAMEWORK)

#### Django Docs: [Documentation](https://www.django-rest-framework.org/)
#### PG ADMIN: [pgadmin.org](https://www.pgadmin.org)
## How to run locally
* Download this repo or run:
```bash
$ git clone git@github.com:kayprogrammer/ecommerce-store-drf.git
```
#### In the root directory:
- Install all dependencies
```bash
$ pip install -r requirements.txt
```
- Create an `.env` file and copy the contents from the `.env.example` to the file and set the respective values. A postgres database can be created with PG ADMIN or psql
- Run Locally
```bash
$ python manage.py migrate
```
```bash
$ python manage.py runserver
```
- Run With Docker
```bash
$ docker-compose up --build -d --remove-orphans
```
OR
```bash
$ make build
```
- Test Coverage
```bash
$ pytest --disable-warnings -vv
```
OR
```bash
$ make test
```
## Docs
#### API Url: [E-Store DRF Swagger Docs](https://estore-drf.fly.dev/)



## ADMIN PAGE [E-Store Admin](https://estore-drf.fly.dev/admin/)
Check .env.example file for admin credentials
