Skip to content

markbates/buffla

Repository files navigation

Buff.la - URL Shortner Example

This application is an example of writing a URL shortner usingBuffalo.The application can be found live on the web athttps://buff.la.

Running Locally

Requirements

  • dep
  • Postgres
  • Node/Yarn
  • Buffalo- v0.11.0 (or later ordevelopmentbranch)

Installation

First, make sure you have all of the above dependencies setup and running (as appropriate).

  1. Get the repo:go get -v github /gobuffalo/buffla.
  2. Make suredatabase.ymlis configured for your Postgres instance.
  3. Runbuffalo setup.
  4. Setup OAuth keys for either GitHub, FaceBook, or Twitter (so you can log into the application). Seeactions/auth.gofor what to name the keys.
  5. Runbuffalo dev- to run the application in development.
  6. Have Fun!!

Powered by Buffalo