VITE_API_URL = http://localhost:8000/
- Install dependencies
npm install
- Run the project
npm run dev
SECRET_KEY=<SECRET_KEY> # Generate a secret key with the command: openssl rand -hex 32
ALGORITHM = HS256
ACCESS_TOKEN_EXPIRE_MINUTES = 30
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Run the project
fastapi dev app/main.py
To run the application is necessary to have a PostgreSQL database running. You can use the following command to run a PostgreSQL container:
docker compose up database -d