Pedalstart Task Management is a simple application that allows users to manage their tasks. Users can create, update, delete, and mark tasks as completed.
- Add new tasks with a title, description, and due date.
- View a list of tasks.
- Edit and delete tasks.
- Mark tasks as completed with a checkbox.
- Frontend: React, Axios, Styled Components
- Backend: Node.js, Express.js, MongoDB (Mongoose)
Before you begin, ensure you have the following installed on your machine:
- Node.js (v12.x or later)
- npm (v6.x or later)
- MongoDB (local or cloud instance)
git clone https://github.com/akashtripathiiiii/pedalstart-task-management.git
cd pedalstart-task-management
-
Navigate to the
backend
directory:cd server
-
Install backend dependencies:
npm install
-
Create a
.env
file in thebackend
directory and add your MongoDB URI and other environment variables:MONGO_URI=your_mongodb_uri PORT=5000
-
Start the backend server:
npm start
The backend server should now be running on
http://localhost:5000
.
-
Navigate to the root directory of the project (where
package.json
is located):cd ..
-
Install frontend dependencies:
npm install
-
Start the frontend development server:
npm start
The frontend development server should now be running on
http://localhost:3000
.
- GET /tasks: Get all tasks
- GET /tasks/:id: Get a single task by ID
- POST /tasks: Create a new task
- PUT /tasks/:id: Update a task by ID
- DELETE /tasks/:id: Delete a task by ID
This project is licensed under the MIT License.