Files
LucasJensen/server
2024-07-07 09:39:58 -07:00
..
2024-07-06 10:57:10 -07:00
2024-06-26 19:19:20 -07:00
2024-07-06 10:57:10 -07:00
2024-07-07 09:39:58 -07:00
2024-07-06 10:36:37 -07:00
2024-07-06 10:36:37 -07:00
2024-07-06 10:57:10 -07:00

Backend for lucasjensen.me

build with FastAPI and MySQL

Setup

  • create and activate virtual environment
  • install requirements
  • create database with mysql, note db name
  • create .env file with db credentials (see .env.example)
  • ensure mysql user has permissions to create tables
  • run create_tables.sql to create tables
mysql -u [username] -p [database] < create_tables.sql

Run

./run.py

Test

pytest -s