Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- React.js and npm (Node Package Manager) should be installed on your machine.
-
Clone the repository:
git clone :Link of the repository
-
QUERIES: -- Create the database CREATE DATABASE IF NOT EXISTS task_management;
-- Use the database USE task_management;
-- Create the tasks table CREATE TABLE IF NOT EXISTS tasks ( id INT AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255) NOT NULL, description TEXT, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP );
-
- Open the project in any editor of choice.
- Navigate into the server directory
cd server
. - Run
npm install
to install the packages. - Run
npm start
to start the server. If configured correctly, you should see a message indicating that the Server is running on port 3001.
-
- Navigate into the client directory
cd client
. - Run
npm install
to install the packages. - Run
npm start
to run the app onhttp://localhost:3000
. - Open http://localhost:3000 to view it in your browser.
- Navigate into the client directory
-
Frontend:
- React
-
Backend:
- Node.js with Express.js
-
Database:
- MySQL