Welcome to the Task Management Application! This application allows users to create, read, and update tasks. Each task has a title, description, and due date. Users need to register to use the application.
``` task-management-app │
├── client (Vite React App)
│ ├── src
│ │ ├── components
│ │ ├── states
│ │ ├── pages
│ │ ├── App.jsx
│ │ └── ...
│ ├── .gitignore
│ ├── package.json
│ └── ...
│
├── server (Express Node and MongoDB Backend)
│ ├── routes
│ │ ├── routes.js
│ │ ├──
│ │ └── ...
│ ├── model
│ │ ├── User.js
│ │ ├──
│ │ └── ...
│ ├── config
│ │ ├── db.js
│ │ └── ...
│ ├── middleware
│ │ ├── authenticateUser.js
│ │ └── ...
│ ├── server.js
│ ├── package.json
│ └── ...
│
├── .gitignore
├── README.md
└── ... ```
-
Clone the repository:
```bash git clone https://github.com/cripttion/taskmanagement.git ```
-
Navigate to the project folder:
```bash cd task-management-app ```
-
Install client dependencies:
```bash cd client npm install
yarn install ```
-
Install server dependencies:
```bash cd ../server npm install
yarn install ```
-
Set up the backend:
-
Create a `.env` file in the `server` folder and configure MongoDB connection details.
```env MONGODB_URI=your_mongodb_connection_uri ```
-
Ensure MongoDB is running.
-
-
Start the client:
```bash cd ../client npm run dev
yarn dev ```
Open your browser and visit http://localhost:3000 to access the client application.
-
Start the server:
```bash cd ../server npm start ```
The server will be running at http://localhost:5000.
-
Register/Login:
- Users need to register or log in to access the task management features.
-
View Tasks:
- Upon logging in, users can view their existing tasks.
-
Create a Task:
- Click on the "Add Task" button to create a new task.
- Enter the task details: title, description, and due date.
-
Update a Task:
- Click on the task to view its details.
- Update the task information as needed and save the changes.
-
Delete a Task:
- To delete a task, click on the task and select the delete option.
-
Frontend:
- React.js with Vite
- Axios for API requests
- State management library (if applicable)
- Any other libraries or frameworks used
-
Backend:
- Node.js with Express
- MongoDB for database
- Authentication middleware (if applicable)
Contributions are welcome! If you'd like to contribute to the project, please follow these steps:
- Fork the repository
- Create a new branch (`git checkout -b feature/your-feature`)
- Make your changes and commit them (`git commit -m 'Add some feature'`)
- Push to the branch (`git push origin feature/your-feature`)
- Open a pull request
This project is licensed under the MIT License. EOF