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

Skip to content

Basic CRUD API (using Golang's Gin framework) Simple ToDo api with minimal UI where user can add , update , delete , list the tasks.

Kamaljeet-01/CRUD_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ ToDo Web App (Go + Gin + HTML/CSS/JS)

A clean, functional ToDo list web application that performs basic CRUD operations β€” Add, View, Update, and Delete tasks. The backend is built using Go and the Gin framework, while the frontend uses HTML, CSS, and JavaScript.

This project is ideal for learning how frontend and backend communicate using REST APIs.


πŸ“Έ Homepage Screenshot

Screenshot


✨ Features

  • βž• Add task with Id, Task, and Done status
  • πŸ—‘οΈ Delete task using its ID
  • ♻️ Update existing task by ID
  • πŸ“‹ View all tasks in a formatted list
  • 🌐 User-friendly interface using vanilla JS + CSS
  • ⚑ Real-time interaction using fetch() API

🧾 Project Folder Structure

  • todo/
  • β”œβ”€β”€ backend/
  • β”‚ β”œβ”€β”€ main.go # Go server code
  • β”‚ β”œβ”€β”€ go.mod
  • β”‚ └── go.sum
  • β”‚
  • β”œβ”€β”€ frontend/
  • β”‚ β”œβ”€β”€ index.html # Web interface
  • β”‚ β”œβ”€β”€ style.css # Styling
  • β”‚ └── script.js # JavaScript logic
  • β”‚
  • └── screenshots/
  • └── homepage.png # Screenshot of homepage

βš™οΈ Tech Stack

Layer Technology
Backend Go, Gin
Frontend HTML, CSS, JS
Protocol HTTP + JSON

πŸ“¦ Setup Instructions

Prerequisites

  • Go installed (go version)
  • A browser (Chrome, Firefox, etc.)

πŸ›  Run the Project

  1. Clone the repository
git clone https://github.com/kamaljeet-01/CRUD-API.git
cd todo/backend

About

Basic CRUD API (using Golang's Gin framework) Simple ToDo api with minimal UI where user can add , update , delete , list the tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published