An open API service indexing awesome lists of open source software.

https://github.com/roshanrajcmd/todo-app-backend

Back End of my React TODO application
https://github.com/roshanrajcmd/todo-app-backend

gin gin-gonic golang gorm postgresql

Last synced: 2 months ago
JSON representation

Back End of my React TODO application

Awesome Lists containing this project

README

          

# TODO APP

A Typical TODO app project in Reactjs

## Source Code

FrontEnd: https://github.com/RoshanRajcmd/todo-webapp

BackEnd: https://github.com/RoshanRajcmd/todo-app-backend

## Tech Stack and Packages

* React.js
* PostgreSQL
* Golabg with GIN and GORM

## Features

Fetch, Add, Edit, Delete Tasks

## Developer setup

*For Client*

Run `npm start` for a dev server. Navigate to `http://localhost:8080/` in a browser. The app will automatically reload if you change any of the source files.

*For Server*

Run `go run cmd/main.go`. Change the server hosting post from `3000` to your desired one. You need to manually restart the server if you change any of the source files.

*For DB*

The server looks for Postgresql DB connection under the Env variable named `DB_URL` formatted as "postgres://dbusername:dbpassword@host:dbport"

## Screenshots

Screenshot 2025-01-07 at 3 12 10 PM
Screenshot 2025-01-07 at 3 12 47 PM
Screenshot 2025-01-07 at 3 14 23 PM
Screenshot 2025-01-07 at 3 14 39 PM