Team 5ALGO1WO, software engineering course project at AGH University.
For frontend, you need to install npm from here.
-
Open terminal in this repository's root directory
-
cd frontend && npm i -
npm run devwill start web application at localhost:3000 -
You can edit source code and the changes will be applied immediately
For backend, you need to install Python
-
Open terminal in this repository's root directory
-
Remember to create and activate a virtual environment
-
cd backend && pip install -r requirements.txt -
fastapi dev main.pywill start web server at localhost:8000 -
You can edit source code and the changes will be applied immediately
-
cd frontend && npm run build -
cd ../backend && pyinstaller main.py --onefile --name CookBook --noconsole --add-data ../frontend/dist:./static -
You can move
CookBookfile from newly created./distdirectory anywhere and it will work when you run it -
You can add the file itself or a shortcut to it to your
C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup -
Your web application should be accessible from
localhost:8000after every system startup