Skip to content

jmptrader/Negroni-Example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Negroni Example

This is an example Negroni web app with basic auth

Note

  • This example webapp was originally built with a MySQL DB, but has now been modified to use Postgres. There is now a 'mysql' branch that still uses the go-mysql lib, but development on this branch has slowed to little more than a trickle

Features

  • Signup/Login
  • Pages rendered from templates
  • Very Simple API call via Javascript on homepage

Requirements

  • Negroni
  • Negroni-sessions
  • Render
  • pq
  • crypto/bcrypt

Try Me

Deploy to Heroku

Deploy

To Do

  • Hash passwords
  • More extensive api examples

About

A simple Golang example using Negroni + Postgres

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 57.3%
  • JavaScript 32.7%
  • CSS 10.0%