Skip to content

anshu2k24/EventInn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Full-stack MERN event management app with OTP auth, student & institution dashboards, and email onboarding — deployed via Vercel & Render.

🎉 EventInn — Full-Stack MERN Campus Event Platform

EventInn is a full-stack event management platform where institutions can post events and students can register for them — built with MongoDB, Express, React, Node.js, and styled with TailwindCSS.

Includes: JWT Auth, OTP verification, Email onboarding, Role-based Dashboards, Protected Routes, and Deployment on Vercel + Render.


🚀 Features

  • 👥 Two user roles: Students & Institutions

  • 🔐 Secure Auth: JWT-based login & protected routes

  • 🔄 OTP Verification during registration

  • 📩 Welcome Emails sent on signup

  • 🧑‍🏫 Institutions can:

    • Register/Login
    • Post Events
    • View number of enrolled students
  • 🎓 Students can:

    • Register/Login
    • Enroll into events
    • View their enrolled events
  • 🌍 Fully deployed on Render (API) + Vercel (Client)


🛠️ Tech Stack

  • Frontend: React.js, TailwindCSS
  • Backend: Node.js, Express.js
  • Database: MongoDB (Mongoose ODM)
  • Auth: JWT, OTP, bcrypt
  • Email: Nodemailer via SMTP (Gmail)
  • Deploy: Vercel (frontend), Render (backend)

📦 Installation

1. Clone this repo

git clone https://github.com/anshu2k24/EventInn.git
cd EventInn

2. Setup Backend

cd backend
npm install

Create a .env file in /backend with the following:

MONGO_URI=your_mongodb_connection_string
PORT=5000
JWT_SECRET=your_secret_key
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your_gmail_email
SMTP_PASS=your_gmail_app_password

Run the backend:

node server.js

3. Setup Frontend

cd ../frontend
npm install
npm run dev

🔑 Demo Credentials (optional)

If you're testing without email/OTP setup:


🌐 Live Demo

🔗 https://eventinn.vercel.app


📸 Screenshots

🏠 Home Page

Home

🎓 Login/Register

LoginRegister

📩 Student Welcome Email

WelcomeStudentEmail

🧑🏻‍🎓 Student Dashboard

Student

🏫 Institution Dashboard - add event

Institution

🏫 Institution Dashboard - hosted event

Institution Institution


🤝 Contributions

Pull requests are welcome. For major changes, open an issue first to discuss what you'd like to change.


🧠 What I Learned

  • Role-based user management
  • Email + OTP verification flow
  • JWT tokens for secure auth
  • MongoDB modeling with Mongoose
  • Route protection & middleware
  • Full deployment via Vercel & Render

👋 Connect With Me

Drop a ⭐ if this helped, or connect on LinkedIn!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages