How himanshusalagre/fintech-open-month-hackathon works
Investment Spot is an Express/MongoDB web app connecting startup founders and investors. Visitors browse startup and investor listings, educational and school/college sections, and featured stories; founders and investors can register and sign in, with separate dashboard pages. The payment flow uses Razorpay order creation and payment lookup. The graph reflects the README’s broader capabilities, but several route and view implementations were not sampled, so links for those features are limited to documented routing/controller structure.
Main entry points: homeController.js Page controller · routes/index.js Application routes · index.js Express server · passport-strategy-local.js Local authentication
Components 22
Web application
- Express server
index.js - Application routes
routes/index.js - Page controller
controllers/homeController.js - Site pages
views/index.ejs
Accounts and identity
- Signup routes
routes/signUp.js - Investor routes
routes/investor.js - Startup routes
routes/startup.js - Signup pages
controllers/signupController.js - Investor accounts
controllers/investorsController.js - Startup accounts
controllers/startupController.js - Local authentication
config/passport-strategy-local.js - Investor records
models/investor.js
Startup-investor marketplace
- Startup records
models/startup.js - Startup listings
views/startups.ejs - Investor listings
views/investors.ejs
Learning and discovery
- Learning section
views/learn.ejs - School and college startups
views/school_colleges.ejs - Featured stories
views/featured.ejs
Payments
- Payment page
views/razorpay.ejs
Other components
- Visitor
- MongoDB
- Razorpay API
Connections 25
- Visitor → Express server: requests pages
- Express server → Application routes: dispatches routes
- Application routes → Page controller: dispatches pages
- Page controller → Site pages: renders pages
- Application routes → Signup routes: mounts signup
- Application routes → Investor routes: mounts investor
- Application routes → Startup routes: mounts startup
- Signup routes → Signup pages: serves signup
- Investor routes → Investor accounts: dispatches account actions
- Startup routes → Startup accounts: dispatches account actions
- Investor routes → Local authentication: authenticates
- Startup routes → Local authentication: authenticates
- Investor accounts → Investor records: creates and looks up
- Startup accounts → Startup records: creates and looks up
- Local authentication → Investor records: checks identity
- Local authentication → Startup records: checks identity
- Investor records → MongoDB: persists records
- Startup records → MongoDB: persists records
- Page controller → Startup listings: renders listing
- Page controller → Investor listings: renders listing
- Page controller → Learning section: renders section
- Page controller → School and college startups: renders section
- Page controller → Featured stories: renders stories
- Express server → Payment page: renders payment page
- Express server → Razorpay API: creates orders and fetches payments