Welcome to EduChain, the enhanced EduChain Admin dashboard powering a blockchain education platform designed for Northern Nigeria. EduChain addresses challenges like limited internet connectivity and digital literacy gaps, leveraging cutting-edge blockchain technology and the Gemini API to deliver an engaging and accessible learning experience.
EduChain Link Hosted On Vercel
- User & Course Management: Seamlessly register students, onboard instructors, and organize blockchain-related courses.
- AI-Enhanced Learning: Create dynamic learning experiences with quizzes and interactive content via the Gemini API.
- Offline Access: Enable downloadable content for users with limited internet connectivity.
- Multilingual Support: Offer educational content in English and Hausa.
- Community Engagement: Support discussion forums and learning groups to enhance collaboration.
- Progress Tracking: Monitor learner progress and deliver personalized recommendations.
- Cultural Relevance: Tailor educational content to meet the unique needs of Northern Nigeria.
Wowwww
- Frontend: Next.js (React framework)
- Styling: Tailwind CSS
- AI Integration: Gemini API
Before setting up the project, ensure you have:
- Node.js (v14 or higher)
- npm or yarn
- Git
- A text editor like VS Code
-
Clone the Repository:
git clone <repository-url> cd EduChain-Admin
-
Install Dependencies:
npm install
-
Set Up Environment Variables: Create a
.envfile in the root directory and add:GEMINI_API_KEY=your_gemini_api_key
⚠️ Note: Never hardcode sensitive information in the source code. -
Run the Development Server:
npm run dev
The application will be accessible at http://localhost:3000.
-
Obtain an API Key:
Sign up with the Gemini API provider to receive your API key. -
Configure the API Key in
.env:GEMINI_API_KEY=your_api_key_here
-
Test the API Call:
curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=$GEMINI_API_KEY" \ -H 'Content-Type: application/json' \ -X POST \ -d '{ "contents": [{ "parts":[{"text": "Explain how AI works"}] }] }'
- This issue in
components/ui/alert.tsxcan be resolved by ensuring proper syntax is used.
- Ensure that
font-latois configured intailwind.config.js:module.exports = { theme: { extend: { fontFamily: { lato: ['Lato', 'sans-serif'] } } } }
- Fork the Repository
- Create a Feature Branch:
git checkout -b feature-name
- Commit Your Changes and Submit a Pull Request
This project is licensed under the MIT License.
