This project is a full-stack application featuring a React.js frontend and a Node.js backend. It's designed to showcase a simple yet effective setup for building and running a web application.
These instructions will guide you through setting up the project on your local machine for development and testing purposes.
Before you begin, ensure you have the following installed:
- Node.js > 17.X
- npm version > 8.x.x
-
Clone the repository
git clone https://github.com/prasanthmaran1/taskapp.git cd taskapp -
Install dependencies
-
For the backend:
cd server npm install -
For the frontend:
cd client npm install
-
-
Start the Backend Server
Navigate to the
serverdirectory and run:npm start
The server will start on port 3000 by default. You can access the API at
http://localhost:3000. -
Start the React Frontend
In a new terminal, navigate to the
clientdirectory and run:npm start
This will start the React development server on port 9090. Your browser should automatically open to
http://localhost:9090. -
Start the Application both front end backend
In a new terminal, navigate to the
taskappdirectory and run:npm start
This will start the React development server on port 9090. You can access by
http://localhost:9090.The server will start on port 3000 by default. You can access the API at
http://localhost:3000.
-
To build the frontend for production, run:
cd client npm run buildThis will compile the React app into static files in the
distfolder. -
The backend does not typically need a build step for Node.js, but ensure any environment-specific configurations are set for production.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Prasanth Maran - Initial work - PrasanthMaran1
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Hat tip to anyone whose code was used
- Inspiration
- etc