This project is a simple CRUD (Create, Read, Update, Delete) application using Flask for the backend, SQLAlchemy for database interactions, and Tailwind CSS for styling.
Create a virtual environment:
python -m venv .venv
Activate the virtual environment:
-
Mac/Linux:
source .venv/bin/activate
-
Windows:
.venv\Scripts\activate
Install Python and npm packages:
pip install -r requirements.txt
npm install
Run the following command to compile Tailwind CSS:
npm run watch:css
Start the Flask application with:
python -m flask run
Visit http://127.0.0.1:5000/
in your browser to see the app in action.
- Make sure to have both Python and Node.js installed on your machine.
- Modify the Flask routes and SQLAlchemy models as needed for your application.