A full-stack habit management and tracking application built with React, TypeScript, Express, MongoDB, and JWT authentication. HabitTracker lets users register, log in, and manage daily habits. Users can create, update, delete, and track habit progress over time.
Currently under development.
-
Frontend
- React 19
- TypeScript
- Vite
- Ant Design
- Axios
- React Router DOM
- Zustand
-
Backend
- Node.js
- Express 5
- TypeScript
- MongoDB / Mongoose
- JSON Web Tokens (JWT)
- bcrypt
- CORS
- Morgan / Winston logging
- User registration and login
- JWT-secured API routes
- Create, read, update, and delete habits
- Track habit completion/status
- Habit history retrieval
- Responsive UI with Ant Design components
- Client-side state managed with React context and Zustand
- Node.js 18+ / npm
- MongoDB instance
.envfile for server configuration
- Clone the repository:
git clone https://github.com/naama-git/habit-tracker
- Frontend Setup
cd client
npm install
npm run dev
- Backend Setup
cd server
npm install
npm run dev
Create .env file with:
PORT=5000
DATABASE_URI=<your_mongodb_connection_string>
ACCESS_TOKEN_SECRET=<your_jwt_secret>
| Desktop Experience | Mobile Adaptation |
|---|---|
| Comprehensive wide-screen management | Smart vertical navigation & layout |
| View Details | Quick Edit | Action Confirmation |
|---|---|---|
| Adding New | Weekly Routine | Monthly Goals |
|---|---|---|
A clean, minimalist authentication gateway focused on user data privacy.