Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raihan2bd/go-todo-with-mongodb
Todo list project is a basic full-stack single page project. I am using Html, CSS, JavaScript for front-end and GO(golang) for backend and also using MongoDB(NoSql) for database. This project can save, update, delete todo and also delete completed todos. The main goal that How to connect Go and MongoDB and make a crud operation using them.
https://github.com/raihan2bd/go-todo-with-mongodb
Last synced: about 6 hours ago
JSON representation
Todo list project is a basic full-stack single page project. I am using Html, CSS, JavaScript for front-end and GO(golang) for backend and also using MongoDB(NoSql) for database. This project can save, update, delete todo and also delete completed todos. The main goal that How to connect Go and MongoDB and make a crud operation using them.
- Host: GitHub
- URL: https://github.com/raihan2bd/go-todo-with-mongodb
- Owner: raihan2bd
- License: mit
- Created: 2022-12-23T16:18:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T16:26:12.000Z (almost 2 years ago)
- Last Synced: 2024-01-05T04:44:16.888Z (11 months ago)
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Todo List with Mongodb
Todo list project is a basic full-stack single page project. I am using Html, CSS, JavaScript for front-end and GO(golang) for backend and also using MongoDB(NoSql) for database. This project can save, update, delete todo and also delete completed todos. The main goal that How to connect Go and MongoDB and make a crud operation using them.
## Demo
![Capture](https://user-images.githubusercontent.com/35267447/209561297-b05cae4b-41ce-42e7-b91a-149e0f211eb6.PNG)## 💻 Getting Started
- To get star with this package first of all you have to clone the project ⬇️
``` bash
https://github.com/raihan2bd/go-todo-with-mongodb.git
```
- Then Make sure you have install [Go (golang)](https://go.dev/dl/) version 1.1.0 or latest stable version.
- Then make sure you have install [Mongodb](https://www.mongodb.com/try/download/community) on your local mechine if you want to use this project as localy.
- To install all the Go packages navigate the folder address on your terminal and enter the below command ⬇️
``` bash
go get ./...
```
- After downloading the packages you should edit .env file and change **MONGO_URI** to your own MongoDB hosted link or Mongodb Atlas link. and also change you can chage the other variables to your own Database name and also the Collection name.# Usages
> *Note: Before enter the below command make sure you are in the right directory.*- To build the project as a single executable just run the below command. ⬇️
``` bash
go build
```
- After finishing the avove instructions you can see the project in your local mechine by entering the below command ⬇️
```bash
go run main.go
```- Then you can see this project live on your browser by this link http://localhost:9000 or your given the port nuber you set for the project.
## 👥 Author
👤 **Abu Raihan**
- GitHub: [@githubhandle](https://github.com/raihan2bd)
- Twitter: [@twitterhandle](https://twitter.com/raihan2bd)
- LinkedIn: [LinkedIn](https://linkedin.com/in/raihan2bd)> Thanks for visiting my repository. Give a ⭐️ if you like this project!
This project is [MIT](./LICENSE) licensed.
## Contribution
*Your suggestions will be more than appreciated. If you want to suggest anything for this project feel free to do that. :slightly_smiling_face:*