Warning
This repository is no longer maintained.
Active development has moved to CodeverseHub-Website: https://github.com/TheCodeVerseHub/codeversehub-website
This repository is kept for archival purposes only and will not receive future updates.
Welcome to the CodeVerse Hub v2 repository! This is the source code for the official website of CodeVerse Hub, a community-driven platform designed for developers to collaborate, learn, and build software together.
CodeVerse Hub is more than just a Discord server. It's a collective of passionate developers, designers, and creators. The website serves as a central point for our resources, announcements, and project milestones.
Key Features:
- Community Hub: Information about who we are and our featured projects.
- Resource Browser: Curated lists of learning resources for our community.
- Timeline: Tracks major events and announcements.
- Admin Dashboard: A secure internal tool for managing site content and announcements.
This project is built using modern web technologies:
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: CSS Modules with global CSS variables for theming.
- Authentication: Custom JWT-based admin authentication (
jose). - Data: JSON-based simple data storage (for v2 simplicity).
src/
├── app/ # Next.js App Router
│ ├── (public)/ # Public facing pages (Home, Resources, Timeline)
│ ├── admin/ # Protected Admin Dashboard
│ └── api/ # API Routes (if any)
├── components/ # Reusable UI components (Navbar, Footer, etc.)
├── data/ # JSON data files (announcements.json, etc.)
└── styles/ # Global stylesFollow these steps to set up the project locally.
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/TheCodeVerseHub/site-v2.git cd site-v2 -
Install dependencies:
npm install
-
Set up Environment Variables: Create a
.envfile in the root directory. You can duplicate a.env.exampleif it exists, or add the following:# Admin Credentials ADMIN_USERNAME=your_username ADMIN_PASSWORD=your_secure_password ADMIN_SESSION_SECRET=long_complex_secret_string
-
Run the development server:
npm run dev
-
Open your browser: Navigate to http://localhost:3000.
We welcome contributions from the community! Whether it's fixing a bug, improving documentation, or adding a new feature, your help is appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please read our CONTRIBUTING.md for detailed guidelines.
Distributed under the MIT License. See LICENSE for more information.
- Discord: Join our Server
- GitHub: TheCodeVerseHub
Built with ❤️ by the CodeVerse Hub Team