Skip to content

auninid2/todo-app-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Todo App

A really simple Todo app implementing CRUD operations, made with React.js (using components from Chakra UI) and Golang with MongoDB as the backend. I built this project mainly to learn and practice how to create a backend API in Go with the net/http package and consume the API from a frontend.

🎥 Demo

Watch the demo

🛠️ Tech Stack

Backend

  • Go — Backend logic and REST API using net/http
  • MongoDB — NoSQL database for storing todos

Frontend

  • React — Frontend framework for building UI
  • Chakra UI— Component library for modern UI design
  • Axios — For making HTTP requests to the backend

✨ Features

  • Add new todos
  • Delete existing todos
  • Mark todos as completed
  • Save and load todos from MongoDB
  • Toggle between Dark and Light modes

⚙️ Setup Instructions

Backend

  1. Clone the repository

  2. Navigate to the backend directory

  3. Create a .env file with your MongoDB URI

  4. Run the backend server:

    go run main.go

Frontend

  1. Navigate to the frontend directory

  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published