Welcome to Notes Aid! We appreciate your interest in contributing. This document provides guidelines for both developers and notes contributors.
- Fork the Repository: Click the 'Fork' button on GitHub.
- Clone Your Fork:
git clone https://github.com/<Your Github ID>/Notes-Aid.git cd Notes-Aid/notes-aid
- Install Dependencies:
npm install
- Start Development Server:
npm run dev
- Use TypeScript for consistency.
- Follow the existing folder structure and coding conventions.
- Ensure all components use Lucide Icons for UI consistency.
- Validate JSON data before committing.
- Run prettier and eslint before pushing:
npm run build
Note: Do not commit service-worker.js or workbox-*.js files.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit:
git commit -m "Added feature-name" - Push your branch:
git push origin feature-name
- Open a Pull Request (PR) on GitHub.
Notes should follow the structured TypeScript format:
You need to contribute in Notes-Aid\Notes-Aid\notes-aid\src\app\notes folder where you will find:
There are 4 folder for each year
📂fy/
📂sy/
📂ty/
📂ly/
Each year has folders of various branches within it:
📂fy/
├──📂comps/
├──📂it/
..
📂sy/
├──📂comps/
├──📂it/
..
.
.
similar for each folder
📂fy/
├──📂comps/
│ ├── 📂evenSem
│ ├── 📂oddSem
├──📂it/
│ ├── 📂evenSem
│ ├── 📂oddSem
.
.
similar for each folder
Each evenSem and oddSem Folder has /data.tsx
📂ty/
├──📂comps/
│ ├──📂evenSem/
│ │ ├──📂 dsip/📄data.tsx
│ │ ├──📂 ai/📄data.tsx
│ │ ├──📂 cc/📄data.tsx
│ │ ├──📂 is/📄data.tsx
│ │ ├──📄subject.tsx
│ ├──📂oddSem
│ │ ├──📂 cn/📄data.tsx
│ │ ├──📂 os/📄data.tsx
│ │ ├──📂 cg/📄data.tsx
...
.
.
Format of data.tsx file is as follows:
- Navigate to
<subject>/data.tsx. - Find the appropriate subject or add a new one following the above format.
- Include:
- Topics (with titles, icon & descriptions)
- Videos (if available)
- Notes (as URLs)
- Description of the topic
- Moreover As per syllabus, C and P batch in First Year have the same syllabus only the subjects are swapped, We have followed:
- C Batch -> Comps and AIDs
- P Batch -> Others
Bonus Tip: We have 1 TB of storage on Sharepoint with somaiya.edu account, so you can upload your notes there and share the link here.
Currently taking notes for Artificial Intelligence as an example:
import {SomeLucideIcon} from "lucide-react"; // choose icon from lucide.dev
const ai: Subject = {
name: "Artificial Intelligence",
icon: SomeLucideIcon,
color: "blue", // Make it blue for consistent color scheme
modules: {
// For each module make different
1: {
notesLink: [
{
title: "Notes 1",
url: "https://somaiya0-my.sharepoint.com/:b:/g/personal/....",
},
// ... Add notes here with title and url here
],
// Topics of Module like 1.1, 1.2 ....
topics: [
{
title: "1.1 Introduction to AI",
description: "Theortical Topic / Numerical Based / Important for exam",
videos: [
// Videos for that topic
{ title: "Introduction to AI", url: "https://www.youtube.com/embed/xvFZjo5PgG0?si=ii7FsVVzJTpiartE" }
{ title: "History of AI", url: "https://www.youtube.com/embed/xvFZjo5PgG0?si=ii7FsVVzJTpiartE" }
// Use embed link of youtube video for url which you will get when you click on share button of youtube video
// Add more videos if needed or else leave the array empty
],
notes: [
{ title: "Module 1.1 Notes", url: "https://example.com/ai-notes" }
// Add notes if needed
// Use drive link or any other link where notes are stored
],
},
],
},
2: {
// Same format as above
},
3: {
// Same format as above
},
},
};
export default ai;
// You can refer to the src/app folder for more examplesFor testing wether the notes are added correctly or not, you can run the project locally and check the notes in the browser with steps mentioned in README.md
- Fork the repository.
- Clone it and create a new branch:
git checkout -b add-notes-subject
- Make your changes and commit:
git commit -m "Added notes for subject XYZ" - Push your branch:
git push origin add-notes-subject
- Open a Pull Request (PR) on GitHub.
Thank you for contributing! 🎉