This application is a ToDo list built with React. It allows you to create, read, update, and delete tasks with reminders and notifications.
- Node.js (version 16 or higher)
- npm (version 7 or higher)
- Docker (optional for running with Docker)
-
Clone the repository:
git clone https://github.com/Mamadou2518/ToDo-App.git cd Todo-App
-
Install dependencies:
npm install
-
Run the application:
npm start
-
Open your browser and go to https://localhost:3000 to see the application in action.
-
Make sure Docker is installed and running on your machine.
-
Clone the repository (if not already done):
git clone https://github.com/your-username/react-todo-app.git cd react-todo-app
-
Build the Docker image:
docker build -t react-todo-app .
-
Run the container with the following command:
docker run -p 3000:80 react-todo-app
-
Open your browser and go to https://localhost:3000 to see the application in action.
The nginx.conf
file is used to configure Nginx to serve the React application. Here is the content of this file:
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}