This project allows members of the Hack Club Slack to manage their subdomains easily. It provides a user-friendly interface for requesting and managing subdomains for various projects.
- Slack Authentication: Users can log in using their Hack Club Slack credentials.
- Subdomain Management: Easily request and manage subdomains for your projects.
- Email Inboxes: Get your own @hackclubber.dev email address with full sending and receiving capabilities.
- Analytics: Integrated analytics to track usage and performance.
- Responsive Design: Built with Tailwind CSS for a responsive and modern UI.
- Frontend: Next.js, React, Tailwind CSS
- Backend: Node.js, MongoDB
- Authentication: NextAuth.js with Slack provider
- Deployment: Vercel
Make sure you have the following installed:
- Node.js (version 18 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/asleepynerd/slack-dns-site.git cd slack-dns-site -
Install the dependencies:
npm install # or yarn install -
Set up environment variables:
Create a
.env.localfile in the root directory and add your environment variables. You can refer to.env.examplefor the required variables. -
Run the development server:
npm run dev # or yarn dev -
Open your browser and navigate to
http://localhost:3000.
- Authentication: You can change the authentication options in the NextAuth configuration located in
src/pages/api/auth/[...nextauth].ts. - Available Domains: Modify the available domains in
@/lib/cloudflare.tsand the.envfile.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or features you'd like to add.
This project is licensed under the MIT License. See the LICENSE file for details.
- Thanks to the Hack Club community for their support and inspiration.
- Special thanks to the libraries and tools that made this project possible.