Skip to content

JAI-VINOD-GIT/TaskORG

Repository files navigation

TaskORG React App

How to Run the backend Server Locally

Follow these steps to set up and run the server on your local machine:

  1. Clone the Repository First, clone the repository to your local machine using the following command:
  1. Navigate to the Project Directory Change to the directory where the project is located:

cd taskorg

cd api

  1. Install Dependencies Make sure you have Node.js and npm installed. If not, download and install Node.js from the official website. Once Node.js and npm are installed, run the following command to install the required dependencies:

npm install

express: A web framework for Node.js jsonwebtoken: A library to sign and verify JWT tokens cors: Middleware to enable Cross-Origin Resource Sharing body-parser: Middleware to parse incoming request bodies

  1. Run the Server Once the dependencies are installed, you can start the server by running:

node index.js

By default, the server will run on port 5000. You should see a message like: Server running on port 5000

How to Run the Frontend React App

  1. Clone the Repository First, clone the repository to your local machine using the following command:
  1. Navigate to the Frontend Project Directory Change to the directory where the React app is located

cd taskorg

  1. Install Dependencies Make sure you have Node.js and npm installed. If not, download and install Node.js from the official website. Once Node.js and npm are installed, run the following command to install the required dependencies for the React app:

npm install

  1. Run the React App Once the dependencies are installed and the API URL is set, you can start the React development server by running:

npm start

The React app will run on http://localhost:3000 by default. You should see your React app running in the browser.

The Frontend is hosted in Netlify : https://taskorz.netlify.app/login

Since there is no db setup at the moment , I haven't linked them with live api url's.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published