This is a web application for following the M'Cheyne bible reading plan. It is built with Next.js and provides a simple, clean interface to track your reading progress.
- Daily Reading Passages: Displays the reading passages for each day of the year according to the M'Cheyne reading plan.
- Progress Tracking: Mark readings as complete and the app will save your progress in your browser's local storage.
- Self-Paced Mode: Don't want to follow a strict calendar? Use the self-paced mode to read at your own rhythm. The app will show you the next unread passages.
- Localization: The interface is available in English, Spanish, and German.
- Leap Day Support: Includes special readings for leap years.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need to have Node.js and npm installed on your machine.
Install the project dependencies:
npm installTo run the app in development mode, use the following command:
npm run devOpen http://localhost:3000/en to view it in your browser. The app supports English (/en), Spanish (/es), and German (/de).
To create a production-ready build, run:
npm run buildThis will create an optimized build of the application in the .next directory.
To start the production server, use:
npm run startThis project uses Jest for testing. To run the test suite, use the following command:
npm run testThis project uses ESLint to identify and report on patterns found in ECMAScript/JavaScript code. To run the linter, use:
npm run lintThis project uses Prettier for code formatting. To format the code, run:
npm run format- Next.js - React framework for production.
- TypeScript - Typed superset of JavaScript.
- Tailwind CSS - A utility-first CSS framework.
- Jest - JavaScript testing framework.
- next-intl - Internationalization for Next.js.
- Radix UI - Unstyled, accessible UI components.
Here is a high-level overview of the key directories in this project:
/app: Contains the core application code, following the Next.js App Router structure. The routes are organized by locale ([locale])./src: Contains reusable components, context providers, utility functions, and type definitions./src/components: React components used throughout the application./src/context: React context providers for managing global state./src/lib: Utility functions and constants.
/messages: Contains the localization files fornext-intl(en.json,es.json,de.json)./public: Static assets like images and fonts.