TodoApp Tailwind Templates

Todoapp

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.

Todo Application

Overview

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.

Table of Contents

Features

  • CRUD Operations: Create, Read, Update, and Delete tasks.
  • Priority Management: Set priority levels for tasks.
  • Task Completion: Mark tasks as completed.
  • Responsive UI: User-friendly and responsive interface.
  • Real-time Updates: Automatic updates using React Query.

Technologies Used

  • Backend: C# .NET, Entity Framework, SQLite, Swagger
  • Frontend: ReactJS, TypeScript, Vite, Tailwind CSS, React Query
  • Version Control: Git, GitFlow

Setup Instructions

Prerequisites

Backend Setup

  1. Clone the repository:

    git clone https://github.com/Sathursan-S/TodoApp.git
    cd TodoApp/backend/TodoApi
    
  2. Restore dependencies:

    dotnet restore
    
  3. Update the database:

    dotnet ef database update
    
  4. Run the application:

    dotnet run
    
  5. Access the Swagger UI for API documentation:

    Open your browser and navigate to:

    http://localhost:5053/swagger/index.html
    

Frontend Setup

  1. Navigate to the frontend directory:

    cd ../frontend/todo-app
    
  2. 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
    
  3. 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
    
  4. Access the frontend application:

    Open your browser and navigate to:

    http://localhost:5174
    

Running the Application

To run the application locally, follow these steps:

  1. Start the backend:

    In the backend/TodoApi directory, run:

    dotnet run
    
  2. 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
    
  3. Open the application in your browser:

    Frontend:

    http://localhost:5174
    

    Swagger API Documentation:

    http://localhost:5053/swagger/index.html
    

Version Control

  • Repository: GitHub Repository
  • Branching Strategy: Use main for production, develop for development, and feature branches for new features.
  • Commit Messages: Follow Conventional Commits for clear and consistent commit messages.

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes