• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
chrisboss

chrisboss

offlineexamapp

Public
Like
offlineexamapp
Home
Code
4
backend
1
frontend
8
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

Nigerian Offline Mock Exam Application

A React-based offline mock exam application designed for students in Nigeria with limited internet access.

Features

Student Features

  • View available mock exams
  • Take mock exams offline
  • Receive instant feedback and scores
  • Review detailed answers and explanations
  • Track personal performance history

Teacher/Admin Features

  • Create, edit, update, and delete exam questions
  • Organize questions into mock exams
  • View student performance statistics
  • Manage user accounts locally

Technology Stack

  • Frontend: React with TypeScript
  • Routing: React Router
  • State Management: React Context API
  • Local Storage: IndexedDB for offline data persistence
  • Styling: TailwindCSS
  • PWA Support: For offline installation and usage

Project Structure

├── backend/
│   └── index.ts             # HTTP entry point for the application
├── frontend/
│   ├── components/
│   │   ├── admin/           # Teacher/Admin components
│   │   ├── student/         # Student components
│   │   ├── shared/          # Shared UI components
│   │   └── App.tsx          # Main application component
│   ├── contexts/            # React Context providers
│   ├── hooks/               # Custom React hooks
│   ├── pages/               # Page components
│   ├── services/            # Service layer for data access
│   ├── types/               # TypeScript type definitions
│   ├── utils/               # Utility functions
│   ├── index.html           # Main HTML template
│   └── index.tsx            # Frontend entry point
└── shared/
    ├── database/            # IndexedDB schema and operations
    └── models/              # Shared data models

Getting Started

  1. Clone the repository
  2. Install dependencies
  3. Run the development server
  4. Build for production

Offline Support

This application is designed to work completely offline. All data is stored locally in the browser's IndexedDB storage. The application can be installed as a PWA for offline access.

License

MIT

Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.