https://github.com/hoyirul/go-starter-echo
This is a simple project to demonstrate how to use Echo Framework in Golang with PostgreSQL as the database
https://github.com/hoyirul/go-starter-echo
echo-framework golang gorm posgresql restful-api
Last synced: 7 months ago
JSON representation
This is a simple project to demonstrate how to use Echo Framework in Golang with PostgreSQL as the database
- Host: GitHub
- URL: https://github.com/hoyirul/go-starter-echo
- Owner: hoyirul
- Created: 2025-03-06T15:07:03.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-04-12T05:02:23.000Z (11 months ago)
- Last Synced: 2025-04-12T06:19:39.035Z (11 months ago)
- Topics: echo-framework, golang, gorm, posgresql, restful-api
- Language: Go
- Homepage:
- Size: 15.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang with Echo Framework and PostgreSQL
## Description
This is a simple project to demonstrate how to use Echo Framework in Golang with PostgreSQL as the database. This project is a simple CRUD application that allows you to create, read, update, and delete users.
## How to run
1. Clone this repository
2. Run the following command:
```bash
go run main.go
```
3. Open your browser and go to `http://localhost:8080`
## Endpoints
- GET `/`: Home page
- GET `/users`: Get all users
- GET `/users/:id`: Get user by ID
- POST `/users`: Create a new user
- PUT `/users/:id`: Update user by ID
- DELETE `/users/:id`: Delete user by ID
## Author
- [Mochammad Hairullah](https://github.com/hoyirul)
## License
This project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
## Acknowledgements
- [Echo Framework](https://echo.labstack.com/)
- [Golang](https://golang.org/)
- [GORM](https://gorm.io/)
## Contact
- [LinkedIn](https://www.linkedin.com/in/madhai/)
- [Twitter](https://twitter.com/hoyirul_)
- [Instagram](https://www.instagram.com/hoyirul_/)
## Support
If you find this project useful, please consider giving a star :star: to this repository.
## Contributing
If you want to contribute to this project, feel free to fork this repository and create a pull request.
## Changelog
- 1.0.0: Initial release
## Roadmap
- Add more features
- Add more endpoints
- Add more tests
- Add more documentation