https://github.com/markbates/buffla
URL Shortner written in Buffalo
https://github.com/markbates/buffla
example gobuffalo goth
Last synced: 5 months ago
JSON representation
URL Shortner written in Buffalo
- Host: GitHub
- URL: https://github.com/markbates/buffla
- Owner: markbates
- Created: 2017-09-20T22:43:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T15:42:22.000Z (almost 7 years ago)
- Last Synced: 2025-03-30T20:05:15.725Z (10 months ago)
- Topics: example, gobuffalo, goth
- Language: Go
- Size: 85.9 KB
- Stars: 30
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Buff.la - URL Shortner Example
This application is an example of writing a URL shortner using [Buffalo](https://gobuffalo.io). The application can be found live on the web at [https://buff.la](https://buff.la).
## Running Locally
### Requirements
* [dep](https://github.com/golang/dep)
* Postgres
* Node/Yarn
* [Buffalo](https://github.com/gobuffalo/buffalo) - v0.11.0 (or later or `development` branch)
### Installation
First, make sure you have all of the above dependencies setup and running (as appropriate).
1. Get the repo: `go get -v github.com/gobuffalo/buffla`.
1. Make sure `database.yml` is configured for your Postgres instance.
1. Run `buffalo setup`.
1. Setup OAuth keys for either GitHub, FaceBook, or Twitter (so you can log into the application). See `actions/auth.go` for what to name the keys.
1. Run `buffalo dev` - to run the application in development.
1. Have Fun!!
---
[Powered by Buffalo](http://gobuffalo.io)