Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunarwhite/todo-app
A TODO LIST web app.
https://github.com/lunarwhite/todo-app
demo goalng mongodb reactjs todo-app web-app
Last synced: 12 days ago
JSON representation
A TODO LIST web app.
- Host: GitHub
- URL: https://github.com/lunarwhite/todo-app
- Owner: lunarwhite
- License: mit
- Created: 2022-01-11T13:14:35.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T13:13:50.000Z (2 months ago)
- Last Synced: 2024-09-14T03:56:11.038Z (2 months ago)
- Topics: demo, goalng, mongodb, reactjs, todo-app, web-app
- Language: Go
- Homepage:
- Size: 1.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# todo-app
A todo app written in Golang, MongoDB, and React.
```
.
├── LICENSE
├── README.md
├── client
│ ├── README.md
│ ├── node_modules
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── robots.txt
│ └── src
│ ├── App.css
│ ├── App.js
│ ├── App.test.js
│ ├── To-Do-List.js
│ ├── index.css
│ ├── index.js
│ ├── logo.svg
│ ├── reportWebVitals.js
│ └── setupTests.js
├── go.mod
├── go.sum
├── server
│ ├── main.go
│ ├── middleware
│ │ └── middleware.go
│ ├── models
│ │ └── models.go
│ └── router
│ └── router.go
└── tree.txt
```## setup envs
- golang
- golang package
```shell
# MongoDB Go Driver
go get go.mongodb.org/mongo-driver# mux router
go get -u github.com/gorilla/mux
```
- mongodb
- node.js
```shell
sudo apt-get install nodejs
sudo apt-get install npm
```## how it works
- server: Golang
- client: React, semantic-ui-react
- database: Cloud MongoDB## deploy
- Open the terminal and start the server from the server directory.
```shell
go run main.go
```
- Open the terminal and start the react application from the client directory.
```shell
npm start
````
- Go to `http://localhost:3000`![Screenshot_1](https://user-images.githubusercontent.com/57584831/149104103-cdb22dbb-3682-4a4f-8380-2e2db001e08f.png)
## reference
- [Build a Todo App in Golang, MongoDB, and React - Shubham Chadokar](https://levelup.gitconnected.com/build-a-todo-app-in-golang-mongodb-and-react-e1357b4690a6)