This is the frontend for CodeBuddy, a platform to connect developers, track tasks, and achieve weekly coding goals together. Built with React (TypeScript), MUI, and Vite. This is a minimal project meant for dev.to weekly challenge. Code will be refined and updated in every release.
- User authentication and JWT-based authorization
- Assign and complete tasks with proof submission
- Weekly progress tracking (hours spent vs goal)
- Connect with coding buddies based on skill level and focus area
- Dashboard with points, task stats, and weekly goal visualization
- Responsive and modern UI using MUI + Tailwind CSS
- React 18 + TypeScript
- Vite for fast development
- MUI for UI components
- Tailwind CSS for styling
- Axios for API calls
- React Router DOM for routing
- Clone the repository:
git clone <frontend-repo-url>
cd codebuddy-frontend- Install dependencies:
yarn
# or
npm install- Create a
.envfile at the root:
VITE_BACKEND_URL=http://localhost:5000- Start the development server:
yarn dev
# or
npm run devThe app should be running at http://localhost:5173 (default Vite port).
src/
├─ components/ # Reusable UI components
├─ pages/ # React pages (Home, Dashboard, Profile, etc.)
├─ api/ # Contains all API calls/interfaces
├─ App.tsx # Main app component
├─ main.tsx # Entry point
| Name | Description |
|---|---|
VITE_BACKEND_URL |
Base URL of the backend API |
| Command | Description |
|---|---|
yarn dev |
Start development server |
yarn build |
Build production bundle |
yarn preview |
Preview production build |
- Make sure the backend server is running before starting the frontend.
- Use JWT token for authenticated API calls.
- All tasks and user data are handled via the backend API.