A modern full-stack typing platform with real-time drills, AI insights (Gemini 2.5 Pro), and competitive modes.
Built with Angular 20, .NET 9 Web API, MongoDB, and SignalR.
- Live stats: real-time WPM, accuracy, error maps, corrections counter
- Competitive drills: create/join rooms & race friends live with SignalR
- Classics mode: type passages from real books (seeded via EPUBs)
- Leaderboards: track rankings & compare progress
- Dark/Light themes with smooth switching
- AI Insights: adaptive drills & feedback from error patterns
- Secure authentication with JWT (login, register, forgot/reset password)
Frontend
- Angular 20
- ng-zorro (UI components)
- RxJS
Backend
- .NET 9 Web API
- MongoDB
- SignalR (real-time communication)
- Scalar/Swagger for API docs
- FastAPI (Python)
Utilities
- BookSeeder: console tool for EPUB → MongoDB ingestion
- External fuzzy search microservice (RapidFuzz)
verbatim-app/
├─ client/ # Angular SPA
├─ server/ # .NET 9 Web API + SignalR
└─ BookSeeder/ # Console tool for EPUB ingestion
- Node.js 18+ and Angular CLI
- .NET 9 SDK
- MongoDB (local or Atlas)
- Python 3.10+ with PIP
cd server
dotnet restore
dotnet run
# runs at http://localhost:5079cd client
npm install
npm start
# runs at http://localhost:4200cd server/MicroServices/FuzzySearch
pip install --no-cache-dir -r requirements.txt
uvicorn FuzzySearch:app --host 0.0.0.0 --port 8080By default, the client expects:
apiBaseUrl: 'http://localhost:5079/api',
hubUrl: 'http://localhost:5079/competitive-hub'
Server → server/appsettings.Development.json
{
"AppSettings": {
"Token": "REPLACE_WITH_SECRET",
"Issuer": "verbatim-auth",
"Audience": "verbatim-api"
},
"MongoDbSettings": {
"ConnectionString": "mongodb://localhost:27017/",
"DatabaseName": "verbatim"
},
"FuzzySearchMicroservice": {
"ConnectionString": "https://fuzzy-search-api.up.railway.app"
}
}Client → client/src/environments/ • environment.ts (development) • environment.prod.ts (production)
• REST API: /api • SignalR Hub: /competitive-hub • Scalar/Swagger UI: /scalar
Controllers include: Auth, Drill, Competitive, Book, Profile, AIInsight.
1. Fork and create a feature branch
2. Add tests where possible
3. Open a pull request with a clear title and description
MIT License
Copyright (c) 2025 Methran Gunasekaran
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.