Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mharibalaji/dotnetwithreact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Management System

This is a simple Task Management System built using React.js for the frontend and .NET for the backend. The application allows users to create, view, update, and delete tasks with functionalities like input validation, success/error notifications, and responsive UI. It utilizes Material-UI and Tailwind CSS for styling and an in-memory database using SQLite or Entity Framework InMemory for storing tasks.

Features

Task List: View tasks in a table format.
Task Form: Add or edit tasks with fields for title, description, due date, and status.
CRUD Operations:
Fetch tasks from the backend.
Add, edit, and delete tasks.
Validation:
Title and Due Date are required.
Status must be one of the predefined values (Pending, In Progress, Completed).
Notifications: Error and success messages are displayed for form submission and actions.

Technologies Used

Frontend

React.js
Material-UI
Axios (for API calls)

Backend

.NET 8
Entity Framework InMemory
C# Web API

Database

Entity Framework InMemory (for in-memory database)

Setup and Installation

Frontend (React.js)

Clone the repository
cd task-management-frontend
Install dependencies:
npm install
Start the React development server:
npm start

Backend (.NET)

Clone the repository:
cd task-management-backend
Restore the .NET dependencies:
dotnet restore
Run the backend API:
dotnet run
The backend will be running at http://localhost:5000.

Database

The application uses Entity Framework InMemory, so no database setup is required.

Running the Application

Start both the frontend and backend servers.
The frontend will automatically interact with the backend API.
Use the username "admin" and password "password"

Dependencies

Frontend

React 18+
Axios
Material-UI

Backend

.NET 8
Entity Framework InMemory

Design Decisions

Task Status: We used predefined statuses for tasks to maintain consistency (e.g., Pending, In Progress, Completed).
Validation: We ensured that the Title and Due Date are required to prevent incomplete task creation.
UI Framework: Material-UI and Tailwind were chosen for responsive design and easy styling.

License

MIT License - See LICENSE for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published