This project is a Flask-based skill management app with:
- Admin login and dashboard
- Student dashboard
- Neon Postgres-backed storage for users, students, and skills
-
Create a Neon project and copy its Postgres connection string.
-
Export environment variables:
export DATABASE_URL="postgresql://..." export SECRET_KEY="change-me"
-
Install dependencies:
pip install -r requirements.txt
-
Start the app:
python app.py
-
Open:
http://127.0.0.1:5000
This repository is now configured for Vercel with vercel.json using @vercel/python.
-
Install CLI (if needed):
npm i -g vercel
-
Login and deploy from the project root:
vercel
-
For production deploy:
vercel --prod
-
In your Vercel project settings, add environment variables:
DATABASE_URL= Neon connection stringSECRET_KEY= secure random string
SECRET_KEY: Flask session secretDATABASE_URL: required Postgres connection string (Neon)