Skip to content

Code-Crafter-007/mcom-notes-hub

Repository files navigation

M.Com Notes Hub

M.Com Notes Hub is a web platform built for M.Com students to access high quality notes and previous year questions in one place.
The goal is to simplify exam preparation with clean content and a focused interface.

Live Demo

https://mcom-notes.vercel.app

Key Features

  • M.Com subject notes
  • Previous Year Questions (PYQs)
  • Clean and simple user interface
  • User authentication
  • Admin authentication
  • Admin dashboard for managing notes and PYQs
  • PDF upload and storage
  • Fast and responsive design

Tech Stack

Frontend

  • TypeScript
  • Next.js
  • React

Backend

  • Supabase

Database

  • Supabase PostgreSQL

Authentication

  • Supabase Auth

Storage

  • Supabase Storage for PDFs

Deployment

  • Vercel

Folder Structure

  • app or pages – application routes
  • components – reusable UI components
  • lib – Supabase client and helpers
  • styles – global and component styles
  • public – static assets

Getting Started

1. Clone the Repository

git clone https://github.com/your-username/mcom-notes-hub.git
cd mcom-notes-hub

2. Install Dependencies

npm install

3. Environment Variables

Create a .env.local file in the root directory.

NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

4. Run the Project

npm run dev

Open in browser

http://localhost:3000

Supabase Configuration

  • Create tables for notes and PYQs
  • Create storage buckets for notes and PYQs PDFs
  • Enable Supabase authentication
  • Apply row level security policies
  • Restrict admin actions using role based access

Admin Panel

  • Upload notes
  • Upload PYQs
  • Edit and delete content
  • Manage visibility of study materials

Deployment

  • Hosted on Vercel
  • GitHub connected for automatic deployments
  • Environment variables configured in Vercel dashboard

Project Status

Active development

License

MIT License

Author

Suraj

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors