Skip to content

riteshkrkarn/astra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

Astra

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.

Tech Stack

Frontend

  • Framework: React (Vite)
  • Styling: Tailwind CSS, Framer Motion, Lucide React
  • State & Routing: React Router DOM
  • Forms: React Hook Form, Zod
  • HTTP Client: Axios

Backend

  • Runtime: Node.js
  • Framework: Express.js
  • Database: MongoDB (Mongoose), Supabase (Storage)
  • AI: Google Gemini (Generative AI)
  • Authentication: JWT, Bcrypt
  • Email: Resend

Prerequisites

Ensure you have the following installed/set up:

Installation & Setup

1. Clone the Repository

git clone https://github.com/riteshkrkarn/astra.git
cd astra-js

2. Backend Setup

Navigate to the server directory and install dependencies:

cd server
npm install

Create 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_key

Start the backend server:

npm run dev

3. Frontend Setup

Open a new terminal, navigate to the frontend directory, and install dependencies:

cd frontend
npm install

Start the frontend development server:

npm run dev

The application should now be running at http://localhost:5173.

Key Features

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages