Skip to content

MadR7/SBUCourses

Repository files navigation

SBUCourses

SBUCourses is a web application designed to help Stony Brook University students plan their course schedules effectively. It provides an intuitive interface to browse courses, view detailed information (including past professors, syllabi, and community links).

✨ Features

  • Course Browsing: Easily search and filter courses by department, number, title, or SBCs.
  • Detailed Course Info: View credits, descriptions, prerequisites, past sections, professors (with RateMyProfessors integration), historical grade data, past syllabi (with user uploads), and relevant Reddit discussions.

💻 Tech Stack

🚀 Getting Started

Follow these steps to set up the project locally:

  1. Clone the repository:

    git clone https://github.com/MadR7/SBUCourses.git
    cd SBUCourses
  2. Install dependencies:

    npm install
    # or
    # yarn install
    # or
    # pnpm install
  3. Set up environment variables:

    • Create a .env file in the project root.
    • Add your database connection string:
      DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE"
  4. Set up the database:

    • Ensure you have a running PostgreSQL database instance matching the DATABASE_URL.
    • Apply database migrations:
      npx prisma migrate dev
    • (Optional) Seed the database with initial data if a seed script exists:
      npx prisma db seed
  5. Run the development server:

    npm run dev
    # or
    # yarn dev
    # or
    # pnpm dev
  6. Open http://localhost:3000 in your browser.

🤝 Contributing

Contributions are welcome! If you'd like to help improve SBUCourses, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature/your-feature-name
    # or
    git checkout -b fix/your-bug-fix-name
  3. Make your changes. Ensure code follows existing style conventions and add tests where applicable.
  4. Commit your changes with descriptive messages.
  5. Push your branch to your forked repository.
  6. Open a Pull Request to the main branch of the original repository.

Please provide a clear description of your changes in the Pull Request.

📜 License

This project is open source.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages