The official website for the Call of Code programming club, built with Next.js 15, React 18, and Tailwind CSS.
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS + Radix UI |
| Animations | Framer Motion |
| Runtime | Node.js 20 |
| API | coc-api — pre-built Docker Hub image |
- Node.js ≥ 20 and npm
- Git
-
Clone the repository:
git clone https://github.com/callofcode07/call-of-code.git cd call-of-code -
Install dependencies:
npm install
-
Configure environment variables:
cp .env.example .env
Open
.envand fill in the required values:Variable Description API_BASE_URLBase URL for the COC API (e.g. http://localhost:3000)GITHUB_TOKENGitHub personal access token (optional, for contribution data) -
Run the development server:
npm run dev
The app will be available at http://localhost:3001.
A fully containerised local environment (Next.js frontend + COC API) is available via Docker Compose.
See DOCKER.md for the complete guide, including:
- One-command startup with hot-reload (
--watchmode) - Environment variable configuration
- Health checks and service dependencies
| Command | Description |
|---|---|
npm run dev |
Start Next.js dev server on port 3001 |
npm run build |
Create a production build |
npm run start |
Serve the production build on port 3001 |
npm run lint |
Run ESLint |
We welcome contributions from everyone!
- Fork the repository and create a branch from
main. - Make your changes with clear, descriptive commit messages.
- Push your branch and open a pull request.
- Ensure your code passes linting (
npm run lint) and follows the project's coding standards.
This project is licensed under the GNU General Public License v3.0.
For questions or suggestions, open an issue or reach out at callofcode07@gmail.com.
Happy coding! 🚀