Eventify is a scalable and modular backend API designed to simplify event management, bookings, and payments. It provides features like secure user authentication, real-time seat availability, automated email notifications, and payment integration (Razorpay coming soon).
git clone https://github.com/yourusername/eventify.git
cd eventify
npm install
Create a .env file in the root directory and add the following:
PORT=<your-port-number>
URL=<your-mongodb-uri>
JWT_KEY=<your-jwt-secret-key>
EMAIL_ID=<your-email-id>
EMAIL_PASSWORD=<your-email-password>
RAZORPAY_KEY_ID=<your-razorpay-key-id>
RAZORPAY_KEY_SECRET=<your-razorpay-key-secret>
Ensure MongoDB is running locally or use MongoDB Atlas.
Collections (Users, Events, Bookings, Payments) are auto-created on server start.
node server.js
nodemon server.js(if nodemon is installed)
Users can register and log in to explore events via /register and /login endpoints.
Admins can create, update, and delete events using /admin/events. They can also manage bookings and payments.
Users can browse events and book tickets using /events and /book. Real-time seat availability ensures accurate booking.
Automated confirmation emails are sent upon successful booking.
Razorpay integration is planned for secure event booking payments.
JWT-based authentication ensures secure and stateless sessions.
Admins can manage events, while users can browse and book events.
Prevents overbooking by dynamically updating seat availability.
Separate roles for users and admins ensure secure operations.
Razorpay will handle secure and seamless payments.
Nodemailer integration for booking confirmations and updates.
Input data validation using Zod.
Bcrypt securely hashes user passwords.
Modular design ensures seamless integration and easy expansion of feedback features.
Category | Technology |
---|---|
Backend Framework | Node.js + Express.js |
Database | MongoDB + Mongoose |
Authentication | JWT |
Validation | Zod |
Password Hashing | Bcrypt |
Nodemailer | |
Payment Gateway | Razorpay (WIP) |
Deployment | Cloud Service (WIP) |
Complete payment gateway integration for secure bookings.
Deploy the API to platforms like AWS, Heroku, or Vercel for production use.
Add analytics and event insights for better decision-making.
Implement personalized event recommendations based on user preferences.
We welcome contributions! Here's how you can help:
Click the "Fork" button to create a copy under your GitHub account.
git checkout -b feature-name
Implement your feature or fix a bug. Write clear, concise commit messages.
git commit -m "Add feature-name"
git push origin feature-name
Go to the original repository and submit a pull request for review.
We appreciate all contributions, including bug fixes, feature suggestions, and documentation improvements. If you encounter issues or have feature ideas, feel free to open an issue or pull request.