TaskTrooper is a MERN stack-based task management application that supports both admin and user logins, with different priority levels for tasks (Normal, Medium, High). Admins can manage tasks, while users can manage their own tasks and progress.
- Admin Login: Admins can manage all tasks, assign priorities, and oversee user activities.
- User Login: Users can log in and track their own tasks based on priorities.
- Task Prioritization: Tasks can be categorized as Normal, Medium, or High priority.
- Task Management: Admins can create, edit, and delete tasks.
- User Dashboard: Users have access to their own task lists, organized by priority.
Make sure you have Node.js and MongoDB installed on your machine. Then, follow these steps to set up the project:
1. Clone the repository:
git clone https://github.com/yourusername/TaskTrooper.git
cd TaskTrooper
2. Install backend dependencies:
cd backend
npm install
3. Install frontend dependencies:
cd frontend
npm install
4. Create a .env file in the backend directory and set the following variables:
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
1. Start the backend server: cd backend npm start
Start the frontend server: cd frontend npm start
Access the app in your browser at http://localhost:3000.
Key | Action |
---|---|
Admin Login | Log in as an admin |
User Login | Log in as a regular user |
Create Task | Admin can create new tasks |
Update Task | Users can update their tasks |
Assign Priority | Admins can assign task priorities |
TaskTrooper/
├── backend/ # Backend server code (Express, MongoDB)
│ ├── controllers/ # Handles API requests
│ ├── models/ # Mongoose models for MongoDB
│ ├── routes/ # API routes
│ └── server.js # Backend server setup
├── frontend/ # Frontend code (React)
│ ├── components/ # React components
│ └── App.js # Main frontend application
├── .env # Environment variables
├── README.md # Project documentation
- Implement notifications for task deadlines.
- Integrate email reminders for users.
- Add advanced task filtering and sorting.
- Enable task sharing between users.
This project is open-source and licensed under the MIT License.
Enjoy using TaskTrooper! 📋🚀