Skip to content

EduardoPeresLima/EduStore

Repository files navigation

How to run the project

Run in Docker

  • Run the command npm run prod
  • Access frontend at localhost:4200
  • Access backend swagger at localhost:8000/docs

Run locally

  • Development tools versions necessary

    • Frontend
      • npm 9.8.1
      • Node 18.18.2
      • Angular CLI 16.2.7
    • Backend
      • Python 3.10.11
    • Database
      • MariaDB
  • Database

    • Create a database named edustore
  • Backend

    • cd backend
    • Create a virtual environment and access it
    • pip install -r requirements.txt to install python dependencies
    • alembic upgrade head to run the migrations creating tables
    • uvicorn src.api:app --host 0.0.0.0 --port 8000 to run the backend
    • Access backend swagger at localhost:8000/docs
  • Frontend

    • cd frontend
    • npm i to install dependencies
    • npm run dev to run the frontend
    • Access frontend at localhost:4200

Diagrams created for development

Usecase Diagram for Buyer v2

UseCase for Buyer

Usecase Diagram for Seller v2

UseCase for Seller

Entity Relationship Diagram v3

ER

About

An e-commerce with Angular, FastAPI and MariaDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published