Welcome to Sigma Events! ๐ This project is an easy-to-use website created to help students and clubs plan and participate in events hassle-free. It's built using Next.js, Tailwind CSS, and MongoDB. Let's dive into how you can get started!
Sigma Events is like a one-stop platform where students and clubs can organize and join events without any fuss. It's designed to make event planning and participation super simple. Here's why you might find it helpful:
- ๐ Clear Event Details: All event information is neatly presented, so you won't miss any details.
- โ๏ธ No Repetitive Form Filling: Say goodbye to filling in the same details for every event. Save time by entering your info just once!
- ๐ Instant Event Notifications: Stay up-to-date with instant event notifications so you never miss an exciting opportunity.
- ๐ Insights and Feedback: Get insights about event attendance and gather valuable feedback for improvement.
- ๐ Privacy-Focused: No need to share your personal number like in WhatsApp groups.
- ๐ฐ๏ธ Easy Access to Past and Upcoming Events: Find past events easily and plan for upcoming ones hassle-free.
This folder holds different parts of the website:
- Access: Deals with letting you log in to access the website.
- AllEvents: Shows all the events available for you to check out and register for.
- Login: Handles the process of logging in using Google.
- Navbar: The menu bar you see at the top of the site for navigation.
- User and Newuser: Display user details and manage completing your profile.
Here's where different pages of the website are located:
- _app.js and _document.js: Basic setup for the website.
- events.js and setting.js: These pages help display events and manage user settings.
Setting up MongoDB is like creating a space to store all the event and user-related data. Don't worry; it's easy!
- Create MongoDB Atlas Account: Sign up here and make a cluster.
- Get API Key and Connection URL: Get a special code (API key) and link (connection URL) for your database.
- Set Environment Variables: Create a
.env.local
file and put in the special codes you received.
NextAuth is a tool for handling logins. Here's how to set it up with Google:
- Create a Google Cloud Platform Project: Go to Google Cloud Console and create a project.
- Enable Google Authentication: Click a few buttons in the console to set up Google login for your project.
- Get Client ID and Secret: You'll get special codes (Client ID and Secret) for linking your NextAuth with Google.
Let's try running Sigma Events on your computer!
- Clone the Repository: Copy the project to your computer using
git clone https://github.com/abhideepkumar/sigmaevents.git
. - Install Dependencies: Run
npm install
to get all the necessary bits and pieces. - Set Environment Variables: Make a file called
.env.local
and put in the codes you got from MongoDB and Google. - Start the Project: Run
npm run dev
in your terminal.
GOOGLE_CLIENT_ID GOOGLE_CLIENT_SECRET MONGO_API MONGO_KEY NEXTAUTH_SECRET NEXTAUTH_URL
We love contributions! Feel free to suggest improvements or even fix bugs by submitting issues or pull requests.
This project is licensed under the MIT License. Feel free to use it however you like!