Skip to content

n3wth/neuros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Neuros - AI-Powered Learning Platform

Neuros - Enterprise Learning Intelligence Platform

An AI-powered learning platform that uses spaced repetition to help you remember information better

Next.js TypeScript Supabase Tailwind CSS License Deploy

Table of Contents

About

Neuros is a cutting-edge learning platform that leverages AI to transform how you retain and recall information through scientifically-proven spaced repetition and active recall techniques.

Live Demo: https://neuros.newth.ai

What It Does

  • AI-Powered Card Generation: Transform any text into structured learning cards using OpenAI GPT-4
  • Spaced Repetition: Evidence-based learning algorithm for optimal retention
  • User Authentication: Secure sign-up/sign-in with Supabase Auth
  • Progress Tracking: Monitor your learning progress with an intuitive dashboard
  • Modern UI: Clean, responsive interface built with Tailwind CSS v4
  • Mobile-First: Optimized for all devices and screen sizes

Enterprise-Grade Integrations

Seamlessly integrate with your existing tech stack:

Category Tools Purpose
AI & ML OpenAI GPT-4, Sequential Thinking Content generation & problem-solving
Testing Playwright Browser automation & E2E testing
Knowledge Context7, Exa, Qdrant Documentation retrieval & knowledge graphs
Development GitHub, 21st.dev Repository management & UI generation

Tech Stack

Layer Technology Version
Framework Next.js 15.4 (App Router)
Language TypeScript 5.x
Database Supabase PostgreSQL + Auth
Styling Tailwind CSS 4.0
UI Components shadcn/ui Latest
AI Services OpenAI GPT-4 Content generation
Testing Vitest + Playwright Unit + E2E
Deployment Vercel Hosting platform

Quick Start

Prerequisites

  • Node.js 18+
  • npm/yarn/pnpm package manager
  • Supabase CLI (npm i -g supabase)

Installation

# Clone the repository
git clone https://github.com/n3wth/neuros.git
cd neuros

# Install dependencies
npm install

Environment Setup

Create a .env.local file in the root directory:

# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key

# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key

Database Setup

# Start local Supabase instance
npm run db:start

# Reset database and apply migrations
npm run db:reset

# Generate TypeScript types from schema
npm run db:types

Run Development Server

npm run dev

Open http://localhost:3000 in your browser!

Documentation

All project documentation is organized in the docs/ folder:

Category Description Key Files
πŸ“– Setup Guides Local development, OAuth, testing docs/setup/
πŸš€ Deployment Production deployment guides docs/deployment/
βš™οΈ Development Architecture, AI systems, testing docs/development/
πŸ“Š Analysis UX audits and improvement proposals docs/analysis/
πŸ”§ Refactoring Code refactoring and migration guides docs/refactoring/

Complete Documentation: See docs/README.md for the full index.

Project Structure

neuros/
β”œβ”€β”€ app/                    # Next.js App Router
β”‚   β”œβ”€β”€ (auth)/             # Authentication routes
β”‚   β”œβ”€β”€ (dashboard)/        # Protected dashboard
β”‚   └── (public)/           # Public pages
β”œβ”€β”€ components/            
β”‚   β”œβ”€β”€ ui/                 # Reusable UI components
β”‚   β”œβ”€β”€ features/           # Feature-specific components
β”‚   β”œβ”€β”€ learning/           # Learning functionality
β”‚   └── landing/            # Landing page components
β”œβ”€β”€ docs/                   # Project documentation
β”œβ”€β”€ scripts/                # Automation & utilities
β”œβ”€β”€ server/
β”‚   β”œβ”€β”€ actions/            # Server Actions
β”‚   └── queries/            # Database queries
β”œβ”€β”€ supabase/
β”‚   └── migrations/         # Database schema
└── types/                  # TypeScript definitions

Available Commands

Development

npm run dev              # Start development server
npm run build           # Production build
npm run start           # Start production server
npm run lint            # Run ESLint
npm run typecheck       # TypeScript checking

Database

npm run db:start        # Start local Supabase
npm run db:stop         # Stop local Supabase
npm run db:reset        # Reset & apply migrations
npm run db:types        # Generate TypeScript types

Testing

npm run test            # Run unit tests once
npm run test:watch      # Run unit tests in watch mode
npm run test:ui         # Interactive test UI
npm run test:coverage   # Coverage report
npm run test:e2e        # End-to-end tests

Features

βœ… Implemented

  • Authentication: Complete user management (sign up, sign in, password reset)
  • AI Card Generation: Transform any text into structured learning cards
  • Spaced Repetition: Evidence-based algorithm for optimal retention
  • Dashboard: Comprehensive learning progress tracking
  • Review Interface: Intuitive card review system
  • Responsive Design: Mobile-first, cross-device compatibility
  • Theme Support: Dark/light mode with smooth transitions
  • Security: Rate limiting, input validation, secure authentication

In Development

  • Advanced Analytics: Detailed learning insights and metrics
  • Collaborative Learning: Team-based learning features
  • Enhanced AI: More sophisticated content generation and personalization
  • Mobile App: Native mobile application
  • API Integration: Third-party learning platform connections

Deployment

Deploy to Vercel (Recommended)

Deploy with Vercel

One-click deployment:

  1. Fork this repository
  2. Connect to Vercel
  3. Add environment variables
  4. Deploy!

Manual Deployment

# Build for production
npm run build

# Start production server
npm run start

Additional Deployment Resources

🀝 Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

🎯 Development Guidelines

  • Follow existing code style and patterns
  • Add tests for new features
  • Update documentation as needed
  • Ensure all tests pass before submitting

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🧠 Built with ❀️ by Oliver Newth

Empowering learners worldwide with AI-driven education technology πŸš€

About

experimental project for testing ai dev tools and mcp integrations

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •