Skip to content

AETT-UA/deti4devs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deti4devs

Frontend

.env file example

VITE_API_URL = http://localhost:8000/

How to run

  1. Install dependencies
npm install
  1. Run the project
npm run dev

Backend

.env file example

SECRET_KEY=<SECRET_KEY> # Generate a secret key with the command: openssl rand -hex 32
ALGORITHM = HS256
ACCESS_TOKEN_EXPIRE_MINUTES = 30

How to run

  1. Create a virtual environment
python3 -m venv venv
  1. Activate the virtual environment
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run the project
fastapi dev app/main.py

Docker

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •