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
- Host: GitHub
- URL: https://github.com/roshanrajcmd/todo-app-backend
- Owner: RoshanRajcmd
- Created: 2025-01-04T11:13:03.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-08T17:41:45.000Z (over 1 year ago)
- Last Synced: 2025-02-24T12:19:31.496Z (over 1 year ago)
- Topics: gin, gin-gonic, golang, gorm, postgresql
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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