- Partner Description
- Project Conceptual Overview
- Home Page
- About Us Page
- Faculty Form Page
- New User Invite Page
- Parent Form Page
- Student Form Page
- Faculty View Page
- Parents View Page
- Course Homepage
- Third-Party Integrations
- Tech Stack
- Setting Up the Development Environment
- UI Mockups
- Migration Scripts
- Deployment
Friends of MLK is a non-profit organization dedicated to enhancing opportunities for historically underserved communities through educational and community development services.
The Reading Huddle program helps families improve their children’s literacy both at home and in the classroom. It encourages daily reading routines and provides resources for parents to enhance the home literacy environment.
Director: Rae Phillips
The project’s goal is to create a web application that delivers:
- Easy-to-access educational resources.
- Structured courses for parents to aid their children's learning.
- IDE (VS Code for EPICS), Node.js, Git, and Postman (optional).
- pnpm: https://pnpm.io/installation
git clone https://github.com/UTDallasEPICS/Reading-MLK.git
cd Reading-MLKThis project uses pnpm, but you can use npm as well.
pnpm installCopy the example environment file and fill in your details.
cp .env.example .envOpen .env and configure the following:
DATABASE_URL: The SQLite connection string (default:file:./dev.db).BETTER_AUTH_SECRET: A secure random string for encryption. You can generate one usingopenssl rand -hex 32.BETTER_AUTH_URL: The base URL of your application (default:http://localhost:3000).EMAIL_USER: Your Gmail address (for OTP delivery).EMAIL_PASS: Your Gmail App Password. How to generate an App Password.
Initialize your SQLite database and run migrations.
pnpm dlx prisma migrate dev --name initGenerate the Prisma client
pnpm dlx prisma generateTo reset the database and run the seed script:
pnpm prisma:resetpnpm devYour application will be available at http://localhost:3000. This command also starts Prisma Studio automatically.
Login requires an email address that already exists in the database.
- Option A: Use the seeded user
Go to
/authand log in withalice@a.com. - Option B: Use your own email
Update
prisma/seed.tswith your email, then runpnpm prisma:resetto re-seed.
To get your OTP:
- Check your configured email inbox.
- Or, check the Prisma Studio tab in your browser and look in the
Verificationtable.
app/: Frontend code (pages, components, assets, composables).server/: Backend code (API routes, authentication logic, database utilities).prisma/: Database schema, migrations, and seed scripts.public/: Static assets.
MIT