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
- golang https://golang.org/dl/
- gorilla/mux library for router
go get -u github.com/gorilla/mux
- 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
- Make sure your mongoDB is started
- From server directory, open a terminal and run
go run main.go
- From client directory,
a. install all the dependencies usingnpm install
b. start clientnpm start
Walk through the application
Open application at http://localhost:3000
Usefull Link
Buy me a coffee