Version 2 of the previous Blogme, a simple blogging app, refactored for a Flask/Gunicorn server, SQL database, and a React front-end using MUI components and Tailwind CSS
Set up an .env
file with a DB_URL
variable containing an SQL Database URL, and a SECRET_KEY
used to create a JSON web token.
// activate venv, command varies by os
pip install -r requirements.txt
npm install
npm run setup
this will seed the database, build, and serve the app at http://localhost:5000/
After setup, the app can be run with
npm run dev
which will build and serve the app at the above url