Taskio is a task management application built with React, Node.js, Express, and MongoDB.
- Create, edit, and delete tasks
- Mark tasks as completed
- Responsive design for various screen sizes
- Uses React Query for data fetching and caching
- Modal for creating new tasks
Before you begin, ensure you have met the following requirements:
- Node.js installed on your local machine
- MongoDB installed and running locally or accessible via a remote URI
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/Mugisha-Samuella/TaskioMERN.git cd taskio
-
Install dependencies
npm install
or
yarn install
-
Set up environment variables
Create a
.env
file in the root directory with the following variables:PORT=4000 MONGO_URI=your_mongodb_connection_uri
-
Start the server
cd api npm i npm run dev
This will start the backend server using Express.
-
Start the React app
Open a new terminal tab and navigate to the
client
directory:cd client npm i npm run dev
This will start the React development server.
Once the server and React app are running:
- Open your browser and go to
http://localhost:5175
to use Taskio. - You can create new tasks, edit existing ones, mark them as completed, and delete tasks.
Taskio uses the following API routes:
GET /api/v1/tasks
: Get all tasksGET /api/v1/tasks/one/:id
: Get a single task by IDPOST /api/v1/tasks/create
: Create a new taskDELETE /api/v1/tasks/delete
: Delete a taskPUT /api/v1/tasks/update
: Update a task
Contributions are welcome! Feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.