This guide walks you through getting a fully functional GradGather instance running on your local machine. By the end you will have the Express server started, a MongoDB database connected, and the BridgeU home page loading in your browser — ready for development or exploration.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/meenalsingh0/GradGather/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Make sure the following are available on your machine before you begin:
- Node.js — nodejs.org/en/download
- npm — bundled with Node.js
- MongoDB — a local installation running on the default port (
27017) is required; the connection string is hard-coded insrc/mongo.jsasmongodb://localhost:27017/LoginFormPractice
Clone the repository
Clone the GradGather repository from GitHub and navigate into the project root:The project root contains
src/ (server code), tempelates/ (Handlebars views), public/ (static assets), and package.json.Install dependencies
Install all Node.js dependencies declared in This pulls in the core packages the platform depends on:
package.json:| Package | Purpose |
|---|---|
express | HTTP server and routing |
mongoose | MongoDB ODM |
hbs | Handlebars view engine for Express |
express-handlebars | Extended Handlebars integration |
paypal-rest-sdk | PayPal donation payment gateway |
dotenv | Environment variable loading |
nodemon | Auto-restart during development |
Configure environment variables
Create a For PayPal credentials, create a REST app in the PayPal Developer Dashboard and copy the Client ID and Secret for the sandbox environment.
.env file in the project root. GradGather reads this file automatically via dotenv on startup:The MongoDB connection string is hard-coded directly in
src/mongo.js as mongodb://localhost:27017/LoginFormPractice. It is not read from an environment variable. Make sure MongoDB is running locally on the default port before starting the server.Start the server
You have two options depending on your workflow:Production / one-off run:Development (auto-restart on file changes):A successful startup prints two lines to the console:If you see
failed instead of mongoose connected, check that your local MongoDB instance is running on port 27017.Open in your browser
Navigate to http://localhost:3000 in your browser. You should see the BridgeU home page — a landing page with the BridgeU logo, a welcome message, and a Join Our Community call-to-action button that takes new visitors to the role-selection screen.From there you can explore the app through the following paths:
| Path | Description |
|---|---|
/ | BridgeU home page |
/2signup | Role selection (Student or Alumni) |
/signup | Account registration form |
/login | Login form |
/landing | Post-login landing page |
/dashboard | User dashboard |
/studash | Student dashboard |
/directory | Alumni directory |
/events | Events listing |
/clubs | Clubs listing |
/connect | Connection hub |
/userprofile | User profile page |
/stuprofile | Student profile page |
/techno | Techno page |
/donation | Donation page |
/paymentGateway | Payment gateway page |
/success | Payment success page |
/cancel | Payment cancelled page |