Skip to content

andreidem18/starlux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

starlux-logo

Starlux

App created with react and Python-Django. Is an ecommerce for a Jewerly. It have features for managing the products, cart, purchases, etc.

It have two subprojects:

Steps to run

Backend

  1. Create the python virtual environment
python -m venv venv
  1. Activate the virtual environment
venv/Scripts/activate
  1. Install requirements
pip install -r requirements.txt
  1. Create a .env file and fill the variables of the .env.example
  2. Run migrations with
python manage.py migrate
  1. Run the project with
python manage.py runserver

Frontend

  1. Create a .env file and set the VITE_API_URL variable with the url of the backend
  2. install dependencies
npm i
  1. Run the project with
npm run dev