This is a to-do list application. The complete tutorial is published on my blog.
Server: Golang
Client: React, semantic-ui-react
Database: Local MongoDB
The offline version of application Get Shit Done
is hosted at
π https://schadokar.github.io/go-to-do-app/
π http://getshitdone.surge.sh
- 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/mongo
From the Application directory
create-react-app client
- 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
Open application at http://localhost:3000
Enter a task and Enter
On completion of a task, click "done" Icon of the respective task card.
You'll notice on completion of task, card's bottom line color changed from yellow to green.
To undone a task, click on "undo" Icon,
You'll notice on completion of task, card's bottom line color changed from green to yellow.
To delete a task, click on "delete" Icon.
https://godoc.org/go.mongodb.org/mongo-driver/mongo
https://www.mongodb.com/blog/post/mongodb-go-driver-tutorial
https://vkt.sh/go-mongodb-driver-cookbook/