Giter Site home page Giter Site logo

ka2ya / todo-fullstack-app-go-gin-postgres-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from el10savio/todo-fullstack-app-go-gin-postgres-react

0.0 1.0 0.0 2.36 MB

A fullstack Todo List built using Go/Gin/Postgres/React stack deployed using docker-compose

License: MIT License

Go 43.52% HTML 4.93% JavaScript 26.35% CSS 6.80% Dockerfile 2.27% Shell 16.12%

todo-fullstack-app-go-gin-postgres-react's Introduction

TODO-Fullstack-App-Go-Gin-Postgres-React

Test Coverage

This fullstack application creates a TODO List Web Page using the Go/Gin/Postgres/React Stack.

Screen Shot

Starting the application

  1. Create a Postgres Database called TODO with table list and change backend/api/api.go accordingly.
  2. Start the go server in backend using go run backend/main.go.
  3. Start the react server in frontend using npm install and then npm start.

OR

In the project root, run:

  1. docker-compose build
  2. docker-compose run

Go server

Go is used to spin up the server, define routing, and interact with the database.

Gin router

Gin is used to define the TODO API with functionality such as:

  1. Listing all TODO items.
  2. Creating a new TODO item and adding to the database.
  3. Updating a TODO item with its completed condition.
  4. Deleting a TODO item from the database.
  5. Later being able to filter TODO items.

Postgres Database

Postgres is used to store the TODO items by saving rows in as id, item-text, and done boolean condition.

React

React is used here to create the frontend fully responsive application on the client side and is built using components.

todo-fullstack-app-go-gin-postgres-react's People

Contributors

el10savio avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.