This small project is the aftermath of an 8 hour speed coding session, and the result is complete ass but I love it.
- Main page (Desktop)
- Dashboard (Desktop)
- Main page (Mobile)
- Dashboard (Mobile)
- Python 3.10+
- MySQL 8
> git clone https://github.com/JKBGL/auth-example
> cd auth-example
# Install required python packages
> py -3.10 -m pip install -r requirements.txt
Note: You need to have an existing database for this.
# Initialize the application's required table
> mysql -u database_user -p database_name < setup/db.sql
# Copy configuration file and open for editing
> cp setup/.env.sample .env
> nano .env
There are two ways of running this application:
# 1. Using `main.py`
> py -3.10 ./main.py
# 2. Or using uvicorn directly:
> py -3.10 -m uvicorn main:app --reload --no-server-header --no-date-header
License : Mozilla Public License 2.0
Author : Jakatebel