Academic Onboarding Assistant for First Year Students
FreshStart AI is a web-based onboarding assistant designed to help first-year college students understand syllabus structure, exam patterns, assignments, and academic guidelines. It provides clear, structured answers generated strictly from official academic documents, ensuring accuracy and reliability.
-
📘 Official-Source–Only Answers Responses are generated strictly from verified academic documents.
-
🧩 Structured & Readable Output Answers are formatted using headings and bullet points for clarity.
-
🎓 First-Year Focused Covers syllabus, exams, assignments, PPTs, and lab guidelines.
-
📱 Responsive UI Works seamlessly across desktop and mobile devices.
- Student enters an academic question.
- The system fetches relevant official academic data from Firestore.
- Gemini AI processes the query using only the provided data.
- A structured and reliable answer is displayed to the student.
- Gemini AI – AI-powered response generation
- Firebase Firestore – Storage for official academic documents
- Google Cloud (Gemini API) – Access to Gemini AI services
- Frontend: HTML, CSS, JavaScript, Tailwind CSS
- Database: Firebase Firestore
- AI: Google Gemini
- Hosting & Backend: Vercel (Serverless Functions)
/
├── index.html
├── script.js
├── /api
│ └── ask.js # Vercel serverless function (Gemini SDK)
├── /img
│ └── (images)
└── README.md
Follow these steps to build your own version.
-
Go to Firebase Console
-
Create a new project
-
Enable Firestore Database
-
Create a collection (example):
freshstart_data -
Add documents (example IDs):
syllabus_structure exam_format_marking lab_report_guidelines -
Each document should have fields like:
{ "title": "Exam Format", "content": "Details about exam pattern..." } -
Set Firestore rules (for MVP):
allow read: if true;
- Go to Google Cloud Console
- Enable Gemini API
- Create an API key
- Keep this key private (do not expose in frontend)
-
Install Gemini SDK:
npm install @google/genai
-
Create file:
/api/ask.js -
Use Gemini SDK inside this function to generate responses (API key is accessed via environment variables).
-
In Vercel Dashboard → Settings → Environment Variables:
GEMINI_API_KEY = your_api_key_here
- Fetch Firestore data using Firebase Web SDK
- Build a prompt using official data
- Send the prompt to
/api/ask - Render the response using Markdown formatting
⚠️ Important: The frontend never directly accesses the Gemini API key.
- Push your project to GitHub
- Import the repo into Vercel
- Set environment variables
- Deploy 🚀
Vercel will automatically:
- Host the frontend
- Deploy the serverless backend
- Secure your API keys
- Gemini API key is stored securely in Vercel environment variables
- Firestore is used as a trusted data source
- AI responses are constrained to official documents only
- Support for multiple branches and semesters
- Role-based access for faculty to update documents
- Follow-up question handling
- Personalized responses based on student profile
This project is intended for educational and demonstration purposes.
- Google Gemini
- Firebase
- Vercel
FreshStart AI is built as a focused, reliable MVP that prioritizes clarity over complexity — helping students start college with confidence.
Made with ❤️ by Arman Singh