This is a To Do List app built using the MERN stack. The client is based on React.js and the backend is based on Express and Node. The app allows users to add and manage their tasks.
To set up the project locally, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory in your terminal.
- Install the required dependencies for both the client and the server:
cd client
npm install
cd ../server
npm install- In the
serverdirectory, create a.envfile and set the following environment variables:
clusterURL=<your MongoDB cluster URL>5.In the client directory, create a .env file and add the following:
REACT_APP_API_URL=http://localhost:1000/- Start the server by running
npm startin theserverdirectory. - Start the client by running
npm startin theclientdirectory. - Open the app in your browser at
http://localhost:3000.
In the client directory, you can run:
Runs the app in development mode. Open http://localhost:3000 to view it in the browser.
In the server directory, you can run:
Runs the server in development mode. Open http://localhost:1000 to access it.
Contributions to the project are welcome. To contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Submit a pull request to the
mainbranch of the original repository.