Astra is an advanced skill-learning platform designed to revolutionize how individuals acquire new competencies. By leveraging the power of Agentic and Generative AI (Google Gemini), Astra creates highly personalized, dynamic learning roadmaps tailored to each user's specific goals and current knowledge level. Unlike static courses, Astra adapts to the learner, providing a structured yet flexible path to mastery, complete with resource curation and progress tracking.
- Framework: React (Vite)
- Styling: Tailwind CSS, Framer Motion, Lucide React
- State & Routing: React Router DOM
- Forms: React Hook Form, Zod
- HTTP Client: Axios
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB (Mongoose), Supabase (Storage)
- AI: Google Gemini (Generative AI)
- Authentication: JWT, Bcrypt
- Email: Resend
Ensure you have the following installed/set up:
- Node.js (v18+ recommended)
- MongoDB (Local or Atlas)
- Supabase Account (for storage)
- Google Cloud Project with Gemini API enabled
- Resend API Key
git clone https://github.com/riteshkrkarn/astra.git
cd astra-jsNavigate to the server directory and install dependencies:
cd server
npm installCreate a .env file in the server directory with the following variables:
PORT=8000
MONGODB_URI=mongodb://localhost:27017/astra
CORS_ORIGIN=http://localhost:5173
ACCESS_TOKEN_SECRET=your_access_token_secret
ACCESS_TOKEN_EXPIRY=1d
REFRESH_TOKEN_SECRET=your_refresh_token_secret
REFRESH_TOKEN_EXPIRY=10d
GEMINI_API_KEY=your_gemini_api_key
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
RESEND_API_KEY=your_resend_api_keyStart the backend server:
npm run devOpen a new terminal, navigate to the frontend directory, and install dependencies:
cd frontend
npm installStart the frontend development server:
npm run devThe application should now be running at http://localhost:5173.
- User Authentication: Secure login, registration, and email verification.
- AI Agents: Intelligent agents that analyze user goals to craft bespoke curricula and provide real-time guidance.
- AI Roadmaps: Generate personalized learning paths using Gemini AI.
- Progress Tracking: Track your learning progress through modules.
- Admin Dashboard: Manage users and content.