A modern web application for managing and discovering events at 42 Abu Dhabi. Built with Next.js and deployed on Netlify.
- Event management and discovery
- User authentication with 42 OAuth
- Real-time updates
- Responsive design
- Modern UI with Tailwind CSS
- Frontend: Next.js, React, Tailwind CSS
- Backend: Netlify Functions
- Authentication: Netlify Identity + 42 OAuth
- Deployment: Netlify
- Clone the repository:
git clone https://github.com/imrangm/42hub.git
cd 42hub- Install dependencies:
npm install- Create a
.envfile in the root directory with the following variables:
# Netlify Configuration
NEXT_PUBLIC_NETLIFY_SITE_URL="https://your-netlify-app-name.netlify.app"
NEXT_PUBLIC_NETLIFY_IDENTITY_URL="https://your-netlify-app-name.netlify.app/.netlify/identity"
# 42 OAuth Configuration
NEXT_PUBLIC_FORTYTWO_CLIENT_ID=""
FORTYTWO_CLIENT_SECRET=""
NEXT_PUBLIC_APP_URL=""
NEXT_PUBLIC_FORTYTWO_REDIRECT_URI=""- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
This project is configured for deployment on Netlify. The netlify.toml file contains the necessary build settings.
To deploy:
- Push your changes to GitHub
- Connect your repository to Netlify
- Enable Netlify Identity in your site settings
- Set up the environment variables in Netlify's dashboard
- Deploy!
-
Enable Netlify Identity:
- Go to Site settings > Identity
- Click "Enable Identity"
- Configure your registration preferences
-
Configure 42 OAuth:
- Go to Site settings > Identity > Services
- Add 42 OAuth provider
- Use the same credentials from your 42 OAuth application
AI-powered event description and promotional content generation features are planned for a future version. Stay tuned!
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.