A url shortening service for Code for San Francisco
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
controllers
models
public
test
views
.env
.env.example
.gitignore
.travis.yml
LICENSE
README.md
app.js
package.json

README.md

C4SF.me

A url shortening service for Code for San Francisco. Built off sahat/hackathon-starter. A very quickly made app. PRs are absolutely welcome.

Code for San Francisco deploy: http://c4sf.me/admin

Screenshots

Public Page

Add new / edit link

Enviroment variables to set

Variable Name Description Example value
MONGODB MongoDB instance URL mongodb://localhost:27017/c4brigade-me
MONGOLAB_URI MongoDB instance URL (should be same as above) mongodb://192.168.99.100:27017/c4brigade-me
SESSION_SECRET Session salt string 7hi$is@seCret
GITHUB_ID Github application id (create them here: https://github.com/organizations/your-organization/settings/applications/new) d4409ccd238d6db56255 (for local installation)
GITHUB_SECRET Github application secret 5c37cffa6fb7092e64e61f695d7b527f45caca15 (for local installation)