DSAGPT Tutor is your personal tutor for mastering Data Structures and Algorithms. It provides step-by-step guidance, similar to learning from a human instructor. With features like AI chat and interactive problem-solving, DSAGPT Tutor helps you excel in your coding interviews.
Built with Next.js and AI technology, this open-source template helps developers create their own programming education tools. As more developers prepare for technical interviews, this template lets you build your own DSA learning platform quickly and easily.
https://dsa-tutor-gpt.vercel.app/
- User authentication and registration
- AI-powered chatbot for DSA queries
- Interactive problem-solving guidance
- Next.js and React for Frontend and Backend
- Database: MongoDB
- AI Integration: Anthropic's Claude
- State Management: React Context
- Integrate with coding platforms to provide real-time code execution and testing.
- Implement a problem repository feature to practice different DSA concepts.
- Create interactive visualization modules for algorithms and data structures.
1. Clone the repository:
git https://github.com/0xmetaschool/dsa-gpt-tutor.git
cd dsa-gpt-tutor
2. Install dependencies:
npm install
3. Set up the database:
Ensure you have MongoDB installed and running on your system, or use a cloud-hosted MongoDB service like MongoDB Atlas. Create a new Cluster, select a free plan, and copy the connection string, this will be required in the next step.
4. Set up environment variables:
Create a .env.local
file in the root directory and add the following variables:
NEXT_PUBLIC_API_URL=http://localhost:3000/api
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_SECRET=your_nextauth_secret
ANTHROPIC_API_KEY=your_anthropic_api_key
5. Run the development server:
npm run dev
6. Open your browser and navigate to http://localhost:3000
- Register for a new account or log in
- Explore the chat dashboard
- Use the chatbot for DSA guidance
We love contributions! Here's how you can help make DSAGPT Tutor even better:
- Fork the project (
gh repo fork https://github.com/0xmetaschool/dsa-gpt-tutor.git
) - Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Please open an issue in the GitHub repository for any queries or support.