Skip to content
Go back

SGI Sales

Updated:

Sales Order Creation Platform (ODV)

Sales Project

Disclaimer: This is a project made in Spanish, no text has been translated.

This project has two main parts: a backend in Python with FastAPI and a frontend in React using Vite.

Backend: Python + FastAPI

The backend is in the ventas-back/ folder. To run it:

  1. Install dependencies: Make sure you have Python 3.9 or higher installed. Then, run the following commands from the ventas-back/ folder:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
  2. Run the server: Once the dependencies are installed, you can start the server with:

    fastapi run app/main.py

    The backend will be available at http://localhost:8000.

Frontend: Vite + React

The frontend is in ventas-front/. To run it:

  1. Install dependencies: You need to have Node.js and PNPM. Then, from ventas-front/:

    pnpm install
  2. Run the development server: Once the dependencies are installed, you can start the development server with:

    pnpm dev

    The frontend will be available at http://localhost:5173.

Notes

Design Decisions

Backend

Frontend



Next
El Cheemspleo