Skip to content

Dockerized Flask application. A shared cookbook app where users can add, browse, and rate recipes.

Notifications You must be signed in to change notification settings

dnyss/Team4Demo1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team 4 Demo 1

Community Recipee Book

Dockerized Flask application. A shared cookbook app where users can add, browse, and rate recipes.

Tech stack

  • Frontend: Vite + React js + SWC + Tailwind CSS
  • Backend: Python + Flask
  • DB: MySQL

Project setup

1 Clone the repository

git clone https://github.com/dnyss/Team4Demo1.git
cd Team4Demo1

2 Give execution permissions to init script

sudo chmod +x init.sh

3 Build and start all services

./init.sh

API Documentation

Testing

Run backend tests inside the running container

docker compose exec api pytest -v

Run frontend tests inside the running container

docker compose exec web pnpm test --run

Run pre-commit

docker compose exec api pre-commit run --all-files

Development

Updating Python Dependencies

After modifying pyproject.toml or extra-requirements.in, regenerate requirements.txt:

pip-compile --allow-unsafe --generate-hashes --output-file=requirements.txt extra-requirements.in pyproject.toml

About

Dockerized Flask application. A shared cookbook app where users can add, browse, and rate recipes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •