This is the frontend for a task management application built with React. It's designed to work with a separate backend API and MongoDB database.
- Node.js (v14.0.0 or later)
- npm (v6.0.0 or later)
- Clone the repository:
git clone https://github.com/IAmSalvaMartini/task-manager-app.git cd task-manager-app
- Install dependencies:
npm install
- Create a
.env
file in the root directory and add the following:
REACT_APP_API_URL=https://your-backend-url.render.com
Replace https://your-backend-url.render.com
with the actual URL of your backend API.
To start the development server:
npm start
This will run the app in development mode. Open http://localhost:3000 to view it in your browser.
To create a production build:
npm run build
This builds the app for production to the build
folder.
This frontend is configured for deployment on Netlify. To deploy:
- Push your changes to your GitHub repository.
- Connect your GitHub repo to Netlify.
- Configure the build settings:
- Build command:
npm run build
- Publish directory:
build
- Build command:
- Add the
REACT_APP_API_URL
environment variable in Netlify's settings.
- Create, read, update, and delete tasks
- React
- NodeJS
- MongoDB
- Git
- Create a PR