Repository files navigation # Team Task Manager (Full-Stack)
This project now supports:
- Authentication (Signup/Login)
- Project and team management
- Task creation, assignment, and status tracking
- Dashboard with total tasks, status counts, and overdue tasks
- Role-based access control (`ADMIN`, `MEMBER`)
- REST APIs with MongoDB relationships
## Tech Stack
- Frontend: React + Vite
- Backend: Express + MongoDB (Mongoose)
- Auth: JWT
## Local Setup
### Backend
1. Copy `backend/.env.example` to `backend/.env`
2. Update env values
3. Run:
```bash
cd backend
npm install
npm run dev
```
### Frontend
1. Copy `frontend/.env.example` to `frontend/.env`
2. Run:
```bash
cd frontend
npm install
npm run dev
```
## Important API Routes
- `POST /api/auth/signup`
- `POST /api/auth/login`
- `GET /api/users` (auth)
- `POST /api/projects` (auth)
- `GET /api/projects` (auth)
- `PATCH /api/projects/:id/members` (auth)
- `POST /api/tasks` (auth)
- `GET /api/tasks` (auth)
- `PATCH /api/tasks/:id/status` (auth)
- `GET /api/dashboard` (auth)
## Railway Deployment
### Backend (Railway)
1. Create a Railway project and deploy `backend` folder.
2. Set environment variables:
- `PORT=5000` (Railway overrides at runtime automatically)
- `MONGO_URI=`
- `JWT_SECRET=`
- `JWT_EXPIRES_IN=7d`
3. Start command:
- `npm start`
### Frontend (Railway Static or Vercel/Netlify)
Set:
- `VITE_API_URL=https:///api`
# -Team-Task-Manager-Full-Stack-
About
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.