echomongo

command module
v0.0.0-...-4206a4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

README

echomongo

This repo implements a simple authentication system and web interface using react/echo/mongo. Users can create accounts, login, and logout. A session id is stored as a cookie and in mongo next to the account who owns the session. For page loads, the session gets passed as a standard cookie. For ajax requests, the session id gets pulled into a header variable for CORS reasons. User passwords are stored bcrypted.

building docker container

  1. run: ./go.py

restarting container for development

  1. run: go build && docker restart echomongo_echo_1 && docker logs --tail=1 -f echomongo_echo_1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL