This Todo Application allows users to manage their tasks by providing functionalities to create, read, update, and delete tasks. The backend is built with C# .NET and an SQLite database, while the frontend is developed using ReactJS with TypeScript, Vite, Tailwind CSS, and React Query.
Clone the repository:
git clone https://github.com/Sathursan-S/TodoApp.git
cd TodoApp/backend/TodoApi
Restore dependencies:
dotnet restore
Update the database:
dotnet ef database update
Run the application:
dotnet run
Access the Swagger UI for API documentation:
Open your browser and navigate to:
http://localhost:5053/swagger/index.html
Navigate to the frontend directory:
cd ../frontend/todo-app
Install dependencies:
You can use npm, Yarn, pnpm, or Bun. Choose one of the following commands based on your preferred package manager:
# For npm
npm install
# For Yarn
yarn install
# For pnpm
pnpm install
# For Bun
bun install
Run the development server:
Choose one of the following commands based on your preferred package manager:
# For npm
npm run dev
# For Yarn
yarn dev
# For pnpm
pnpm dev
# For Bun
bun dev
Access the frontend application:
Open your browser and navigate to:
http://localhost:5174
To run the application locally, follow these steps:
Start the backend:
In the backend/TodoApi
directory, run:
dotnet run
Start the frontend:
In the frontend/todo-app
directory, run the appropriate command for your package manager:
# For npm
npm run dev
# For Yarn
yarn dev
# For pnpm
pnpm dev
# For Bun
bun dev
Open the application in your browser:
Frontend:
http://localhost:5174
Swagger API Documentation:
http://localhost:5053/swagger/index.html
main
for production, develop
for development, and feature branches for new features.