This project implements part of the functionality for an admin dashboard in an accounting management application. Currently, the "Invoices" button shows the number of invoices from the previous month and the percentage increase or decrease compared to the month before. The "Payments" section displays the total of all payment amounts from the previous month along with the percentage change compared to the previous month.
- Docker must be installed on your machine.
- Git must be installed for cloning the repository.
-
Clone the repository using the following command:
git clone https://github.com/TamarDehan2005/First-task.git
-
Navigate to the
Clientdirectory and create a.envfile with the following content:REACT_APP_API_URL=http://localhost:7106 -
From the root directory of the cloned project, run the following command to build and start the containers:
-
Make sure Docker is running on your computer
-
This might take a little time
docker-compose up --build
- Once the containers are running, you can access the application at:
- Swagger UI: Swagger
- React Application: http://localhost:3000
- View the number of receipts from the previous month.
- Display percentage change in receipts compared to the previous month.
- Show total payment amounts from the previous month.
- Indicate percentage change in payment amounts compared to the previous month.