Skip to content
reptinoxPublic

About

A full-stack Scripture memorization web application featuring interactive memorization exercises, personalized Scripture collections, progress tracking, and spaced repetition.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indwell

Helping you carry God's Word with you and live it out every day.

A full-stack Scripture memorization application designed to make discovering, memorizing, and retaining Scripture more accessible and intentional.

React · TypeScript · C# · ASP.NET Core · PostgreSQL

License

Visit Indwell

Try Indwell with a demo account — no registration required.

Overview · Features · Tech Stack · Engineering Highlights · Getting Started


Overview

Indwell is a full-stack web application that brings Bible reading, personal Scripture collections, interactive memorization exercises, and long-term progress tracking into one place.

The project was created to help people develop consistent Scripture memorization habits by providing a structured path from discovering a passage to committing it to memory and retaining it over time.

Indwell is an independently developed personal project encompassing user interface design, frontend development, backend development, relational database design, authentication, external API integration, and production deployment.

The application is designed with mobile users in mind and supports installation as a progressive web app (PWA).

Features

Bible Reading and Discovery

  • Browse books and chapters of the Bible.
  • Search Scripture using API.Bible.
  • Choose between NIV, NLT, and NASB translations.
  • Set a preferred Bible translation.
  • Resume reading from the last-read chapter.

Personal Scripture Library

  • Save individual verses and complete passages.
  • Organize saved Scripture into personalized, color-coded folders.
  • Add passages to multiple folders.
  • Maintain account-specific collections and memorization progress.

Interactive Memorization

Indwell provides three memorization methods designed to encourage active recall and gradually reduce dependence on visual assistance.

Method Description
Progressive Recall Practice passages through five stages of increasing word concealment.
First Letter Recall Recall complete words using their first letters as visual cues.
Test Yourself Recall a hidden passage, receive immediate feedback, and record the result.

Progress Tracking and Spaced Review

  • Track passages through Learning, Practicing, and Mastered stages.
  • Develop mastery through successful recall across multiple days.
  • Review mastered passages at progressively increasing intervals.
  • Identify passages that require additional practice.
  • Maintain progress across devices and sessions.

Accounts and Personalization

  • Account registration with email verification.
  • Persistent, cookie-based authentication.
  • Personalized Bible translation and time zone settings.
  • Configurable reminder preferences and quiet hours.
  • Recurring and one-time schedule commitments.
  • Temporary demo accounts with preloaded Scripture collections.

Progressive Web App

  • Responsive layouts for mobile and desktop devices.
  • Installable on supported devices and browsers.
  • Service worker configuration for static asset caching.
  • Dedicated loading, error, and feedback states throughout core application workflows.

Tech Stack

Category Technologies
Frontend React, TypeScript, React Router, CSS
Backend C#, ASP.NET Core 10 Minimal APIs
Database PostgreSQL
Data Access Entity Framework Core, Npgsql
Authentication ASP.NET Core Cookie Authentication
External APIs API.Bible, Resend
Development Tools Vite, ESLint, Prettier
Progressive Web App vite-plugin-pwa, Service Worker
Infrastructure Docker, Nginx
Hosting Railway
DNS Management Cloudflare
Version Control Git, GitHub

Engineering Highlights

Full-Stack Architecture

Indwell separates its React frontend, ASP.NET Core backend, and PostgreSQL database into distinct application layers.

The frontend communicates with the backend through HTTP API endpoints, while the backend handles business logic, authentication, data persistence, and external service integrations.

Relational Database Design

The application uses PostgreSQL and Entity Framework Core to manage relational data and database migrations.

Unique indexes prevent duplicate records, while composite foreign keys enforce ownership relationships between saved passages and personal folders.

These constraints help maintain data integrity and reinforce account-level data isolation.

Authentication and Account Management

Indwell implements authentication using ASP.NET Core's cookie authentication system.

Account management includes:

  • Password hashing using ASP.NET Core's password hasher.
  • Encrypted, HttpOnly, and Secure authentication cookies.
  • Email verification using expiring, hashed verification tokens.
  • Request rate limiting on authentication endpoints.
  • Transaction-based registration completion.
  • Persistent Data Protection keys stored in PostgreSQL, allowing authenticated sessions to survive server redeployments.

External API Integration and Caching

Scripture is retrieved through API.Bible, while Resend provides account verification emails.

External API requests are handled by the backend, preventing private API credentials from being exposed in browser code.

Saved Scripture text is cached in PostgreSQL with a 14-day lifetime to reduce repeated external API requests.

Memorization and Review Logic

Memorization progress is calculated and maintained by the backend.

A successful recall test requires an accuracy score of at least 90%. Mastery requires successful tests on five separate calendar days, determined using the user's configured time zone.

After mastery, passages follow spaced review intervals of 3, 7, 14, 30, and 60 days.

Successful reviews advance the review interval, while unsuccessful reviews identify passages that require additional practice.

Demo Account Lifecycle

Visitors can explore Indwell without registering by creating a temporary demo account.

Each demo account receives its own preloaded Scripture collections and maintains independent memorization progress.

Demo accounts expire after 24 hours, and a background service periodically removes expired accounts.

Production Deployment

Indwell is deployed on Railway using separate frontend, backend, and PostgreSQL services.

The frontend is compiled through a multi-stage Docker build and served using Nginx. API requests are reverse-proxied to the ASP.NET Core backend, allowing the browser to communicate with the application through a single HTTPS origin.

Production credentials are managed through environment configuration rather than committed source code.

Architecture

               Browser / Installed PWA
                         |
                       HTTPS
                         |
                         v
              React + TypeScript
              Nginx Reverse Proxy
                         |
                   /api requests
                         |
                         v
                 ASP.NET Core API
                         |
         +---------------+---------------+
         |               |               |
         v               v               v
     PostgreSQL       API.Bible        Resend
     -----------      ---------        ------
     Accounts         Scripture        Email
     Collections      Retrieval        Verification
     Preferences
     Progress
     Scripture Cache

During local development, Vite proxies API requests to the ASP.NET Core backend.

In production, Nginx serves the compiled frontend and reverse-proxies API requests to the backend.

Repository Structure

indwell/
├── backend/
│   ├── Data/           Database context and configuration
│   ├── Endpoints/      Application API endpoints
│   ├── Migrations/     Database schema migrations
│   ├── Models/         Entities and request models
│   ├── Services/       Application and background services
│   └── Program.cs      Backend application configuration
│
├── frontend/
│   ├── public/         Public assets and application icons
│   ├── src/
│   │   ├── assets/     Application images and branding
│   │   ├── auth/       Authentication and route protection
│   │   ├── components/ Reusable interface components
│   │   ├── pages/      Application pages
│   │   ├── services/   API request helpers
│   │   └── styles/     Global and feature-specific stylesheets
│   ├── Dockerfile
│   └── nginx.conf
│
├── tests/
│   └── AuthSmoke/      Authentication smoke-test harness
│
└── README.md

Getting Started

The easiest way to explore Indwell is through the live application.

Select Demo Account to explore the application's core features without registering.

To run Indwell locally, follow the instructions below.

Prerequisites

  • Node.js compatible with Vite 8 (22.12+ recommended)
  • .NET 10 SDK
  • PostgreSQL
  • Entity Framework Core CLI compatible with EF Core 10
  • API.Bible API key
  • Resend API key for email verification

1. Clone the Repository

git clone https://github.com/reptinox/indwell.git
cd indwell

2. Configure Backend Secrets

From the repository root, configure the required development secrets using the .NET Secret Manager.

dotnet user-secrets set "ConnectionStrings:IndwellDatabase" "Host=localhost;Database=indwell;Username=YOUR_USER;Password=YOUR_PASSWORD" --project backend

dotnet user-secrets set "ApiBible:ApiKey" "YOUR_API_BIBLE_KEY" --project backend

dotnet user-secrets set "Resend:ApiKey" "YOUR_RESEND_KEY" --project backend

Replace the placeholder values with your own database credentials and API keys.

API.Bible access must include the translations configured by the application.

The email service currently uses verify@indwellmemory.com as its sender address. Local email verification requires configuring a sender address authorized by your Resend account.

3. Configure HTTPS and the Database

If the Entity Framework Core CLI is not already installed:

dotnet tool install --global dotnet-ef --version "10.*"

Ensure PostgreSQL is running and the configured database credentials are valid.

Trust the ASP.NET Core development certificate:

dotnet dev-certs https --trust

Apply the database migrations:

dotnet ef database update --project backend

4. Start the Backend

From the repository root:

dotnet run --project backend --launch-profile https

5. Start the Frontend

In a separate terminal:

cd frontend
npm ci
npm run dev

Open the application at:

https://localhost:5173

If the browser reports an HTTPS certificate error, ensure the ASP.NET Core development certificate is trusted and restart both development servers.

Use localhost consistently when accessing the application.

Development Checks

The following commands can be run from the repository root to check and build the application.

Frontend

npm run lint --prefix frontend
npm run build --prefix frontend

Backend

dotnet build backend

The repository also contains an authentication smoke-test harness in tests/AuthSmoke. This harness requires updating to reflect the current email verification and authentication implementation.

Project Status

Indwell is deployed and available at indwellmemory.com.

The core application is implemented, including Bible reading, Scripture search, personal collections, interactive memorization, progress tracking, account management, and demo accounts.

Future Development

  • Schedule-Aware Reminders: Automated Scripture review notifications that account for personal schedules, commitments, and quiet hours. The underlying preference and schedule management features are already implemented.

  • Curated Scripture Collections: Handpicked passages organized around meaningful topics such as faith, hope, prayer, and wisdom.

  • Expanded Offline Support: Offline Scripture access and memorization practice beyond the current static asset caching.

  • Expanded Automated Testing: Updated authentication tests and additional coverage for core application workflows.

Acknowledgments

  • API.Bible — Scripture content and Bible search services.
  • Resend — Account verification email delivery.

Bible translations remain subject to their respective copyright, attribution, and usage requirements.

License

Copyright © 2026 Conner Brost. All rights reserved.

Indwell is a proprietary, source-available project. The source code is publicly accessible for educational purposes, technical evaluation, and professional portfolio review.

Downloading, inspecting, and running the application locally for private evaluation is permitted.

Unauthorized redistribution, public deployment, incorporation into other projects, and commercial use are prohibited.

See the LICENSE file for full terms.

Author

Conner Brost

Software Developer


Indwell — Memorize. Reflect. Live.

Visit Indwell

About

A full-stack Scripture memorization web application featuring interactive memorization exercises, personalized Scripture collections, progress tracking, and spaced repetition.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages