This repository contains a Task Management project that consists of a .NET API and a React frontend application. The API utilizes Entity Framework Core and communicates with a PostgreSQL database using a Docker Compose file. Follow the instructions below to set up and run the project.
Before running the project, ensure that you have the following software installed on your system:
- Open a terminal and navigate to the
TaskManagementAPIfolder. - Start the PostgreSQL database by running the following command:
docker-compose up -d - Once the database is running, open the solution in Visual Studio or any compatible .NET IDE.
- In the Package Manager Console, execute the following command to apply the database migrations:
update-database
This will create the necessary tables in the PostgreSQL database. - Build and run the API project.
The API is now up and running, and it will be accessible at https://localhost:7183/.
- Open a terminal and navigate to the
frontendfolder. - Install the required dependencies by running the following command:
npm install - Once the installation is complete, start the React application by running:
npm run start
The frontend application will now be accessible at http://localhost:3000.
You're all set! You can now access the Task Management application through your browser and start using it.
- If you encounter any issues while running the project, make sure you have met all the prerequisites and followed the instructions correctly.
- Check the console output for any error messages or logs that can help identify the problem.
- If you need further assistance, feel free to reach out to the project's maintainers.