This is a simple web application that simulates a task management system. Users can create, view, and delete tasks. The application consists of a Node.js backend, and a React.js frontend, with a Redis cache implemented for efficiency.
POST /tasks: Create a new taskGET /tasks: Retrieve a list of all tasksDELETE /tasks/:id: Delete a task by ID
- Navigate to the 'backend' directory.
- Build the Docker image:
docker build -t task-backend . - Run the Docker container:
docker run -p 3000:3000 task-backend
- The frontend is deployed on Netlify and can be accessed via the public URL: Frontend Link
- To build locally:
- Navigate to the 'frontend/my-task-manager-app' directory.
- Build the Docker image:
docker build -t task-frontend .- Run the Docker container:
docker run -p 80:80 task-frontend
- Redis Cache: Integrated to minimize database load by caching task lists.
- Node.js: Selected for backend due to its event-driven nature, ideal for I/O-bound operations.
- React.js: Chosen for frontend due to robust ecosystem and declarative components.
- Docker: Both backend and frontend are containerized for consistent environments across development and production.
- Ensure Docker is installed and running on your machine.
- Redeploy the frontend using the token provided in deployment:
7c98e5ec1ee841d0805d3dc29d5d7596 - For issues or questions about this application, refer to deployment documentation at https://cra.link/deployment.