Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 954 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 954 Bytes

blogme-v2

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

Dependencies

  • Node.js
  • Python
  • SQL database

Local Installation

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.

Server setup:

// activate venv, command varies by os
pip install -r requirements.txt 

Client setup:

npm install
npm run setup   

this will seed the database, build, and serve the app at http://localhost:5000/

Running the App

After setup, the app can be run with

npm run dev

which will build and serve the app at the above url