This repository contains a full-stack Task Manager application with a client-side UI (using React
/ Next.js
) and a server-side API (Node.js
/ Express
). Both parts work together to enable task management functionality, including adding, editing, and deleting tasks. This guide will walk you through installing, running, and understanding each part of the project.
This application is split into TWO main sections:
-
Client : The front-end user interface, built with
React
/Next.js
and styled withTailwind CSS
. -
Server : The backend API, built with
Node.js
andExpress
providingRESTful
endpoints for managing tasks.
Before you begin, ensure you have the following installed:
-
Node.js
(version14.x
or higher) -
npm
(comes withNode.js
)
Step 1: Clone the Repo*
git clone https://github.com/kn1ghtm0nster/task-manager.git
cd task-manager
Step 2: Install Dependencies for Client and Server
Navigate to the root project directory (AKA task-manager
), and install dependencies for both the client
and server
folders.
Installing Server Dependencies
-
Navigate to the
server
folder:cd server
-
Install
server
dependencies:npm install
Installing Client Dependencies
-
Return to the
root
project folder:cd ..
-
Navigate to the
client
foldercd client
-
Install
client
dependenciesnpm install
This project REQUIRES both the client and server to be running. Below are the instructions for each.
Running the Server
-
Navigate to the
server
directory (if not already there):cd server
-
Start the server:
npm start
NOTE : The server will start on a predefined port (e.g.
http://localhost:5000
).
Running the Client
-
Open a new terminal and navigate to the
client
directory:cd client
-
Start the client:
npm run dev
NOTE : The client will start on a different port (e.g.
http://localhost:3000
)
Task-Manager/
├── client/ # Frontend files (React/Next.js)
│ ├── src/
│ ├── public/
│ ├── .eslintrc.json
│ ├── next.config.mjs
│ ├── package.json
│ └── README.md (to be removed)
├── server/ # Backend files (Node.js/Express)
│ ├── src/
│ ├── tests/
│ ├── .env
│ ├── package.json
│ └── tsconfig.json
├── .github/ # GitHub Actions configuration
└── README.md # Main README file (this file)
-
Frontend :
React
,Next.js
,Tailwind CSS
-
Backend :
Node.js
,Express
-
Testing :
Jest
,React Testing Library
-
Version Control :
Git
,GitHub
If you wish to contribute and update this project, please:
-
Fork this Repo
-
Clone your fork and create a new branch for your feature
-
Make your changes and test thoroughly
-
Open a Pull Request for review
- NOTE : Please ensure the target branch is
develop
and NOT themain
branch.
- NOTE : Please ensure the target branch is