This project utilizes Docker to run a frontend and backend application with a SQLite database. Below are the instructions for building, running, and interacting with the services.
To build and run the application, use the following command:
docker-compose up --buildBuild the services:
docker-compose buildStart the services:
docker-compose upStop the containers:
docker-compose downYou can also stop the services by pressing Ctrl + C.
- Frontend: http://localhost:80
- Backend: http://localhost:8080
- FastAPI Docs: http://localhost:8080/docs
To interact with the SQLite database, use the following command:
sqlite3 backend/test.dbList tables:
.tablesQuery users:
SELECT * FROM users;