Skip to content
View mentallyprepare's full-sized avatar

Block or report mentallyprepare

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mentallyprepare/README.md

Mentally Prepare

Anonymous 21-day journaling webapp for college students, built with Node.js, Express, SQLite, and plain frontend assets.

Stack

  • Node.js 18+
  • Express
  • better-sqlite3
  • express-session + connect-sqlite3
  • SendGrid
  • Razorpay / Stripe
  • Web Push + PWA assets

Main folders

  • server.js - app bootstrap, schema creation, middleware, scheduling
  • routes/ - auth, app, admin, payments, waitlist, static pages
  • public/ - landing page, app UI, waitlist page, admin page, CSS, JS, PWA files
  • lib/ - config and email helpers

Local setup

  1. Copy .env.example to .env
  2. Fill in the required secrets
  3. Run npm install
  4. Run npm start
  5. Open http://localhost:8080

Railway notes

  • This service can run in Railway's Dockerfile mode with the repo-root Dockerfile
  • Set SESSION_SECRET as a permanent Railway variable
  • Mount a persistent volume at /data/db
  • Keep DATA_DIR=/data/db
  • Do not set PORT manually in Railway; Railway provides it automatically
  • Verify /api/ready after deploy

Deployment manifest

If you deploy from a curated file list, make sure routes/, lib/, email-service.js, and email-templates.js are included. See webapp-files.txt.

Popular repositories Loading

  1. netlify-feature-tour netlify-feature-tour Public

    Astro

  2. Mentally-prepare- Mentally-prepare- Public

  3. Mentally-prepare Mentally-prepare Public

  4. Mentallyprepare- Mentallyprepare- Public

  5. anushka anushka Public

    HTML

  6. mentally--prepare mentally--prepare Public