Build a Todo App in Golang, MongoDB, and React

Build a Todo App in Golang, MongoDB, and React

go-to-do-app

This is a to-do list application. It’s server is created in Golang, db is mongodb and client is in React.

Application Requirement

golang server requirement
  1. golang https://golang.org/dl/
  2. gorilla/mux library for router go get -u github.com/gorilla/mux
  3. mongo-driver library to connect with mongoDB go get go.mongodb.org/mongo-driver
react client

From the Application directory

create-react-app client

Start the application

  1. Make sure your mongoDB is started
  2. From server directory, open a terminal and run go run main.go
  3. From client directory,
    a. install all the dependencies using npm install
    b. start client npm start

Walk through the application

Open application at http://localhost:3000

Read more…

comments powered by Disqus