Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/truggeri/buffalo-todo
A todo app using Go Buffalo
https://github.com/truggeri/buffalo-todo
buffalo-framework go golang myfirst todo wip
Last synced: about 1 month ago
JSON representation
A todo app using Go Buffalo
- Host: GitHub
- URL: https://github.com/truggeri/buffalo-todo
- Owner: truggeri
- License: mit
- Created: 2020-09-05T20:54:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T15:20:04.000Z (over 4 years ago)
- Last Synced: 2024-11-11T08:27:36.755Z (3 months ago)
- Topics: buffalo-framework, go, golang, myfirst, todo, wip
- Language: Go
- Homepage:
- Size: 163 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to Buffalo
Thank you for choosing Buffalo for your web development needs.
## Development Database Setup
The following are instructions for using the [Postgres Docker image](https://hub.docker.com/_/postgres) for your local dev needs.
```bash
docker pull postgres:12
docker run --name buffalo-todo-db -e POSTGRES_DB=buffalo-todo-db -e POSTGRES_USER=buffalo-todo-user -e POSTGRES_PASSWORD=$BUFFALO_TODO_DB_PASSWORD -d -p 15432:5432 postgres:12
```Note that the database password should be put in a `.env` file like this,
```env
BUFFALO_TODO_DB_PASSWORD=my_super_cool_password
```## Starting the Application
Buffalo ships with a command that will watch your application and automatically rebuild the Go binary and any assets for you. To do that run the "buffalo dev" command:
```bash
buffalo dev
```If you point your browser to [http://127.0.0.1:3000](http://127.0.0.1:3000) you should see a "Welcome to Buffalo!" page.
**Congratulations!** You now have your Buffalo application up and running.
## What Next
We recommend you heading over to [http://gobuffalo.io](http://gobuffalo.io) and reviewing all of the great documentation there.
Good luck!
[Powered by Buffalo](http://gobuffalo.io)