Skip to content
Crying in Public
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.babelrc
.gitignore
.sequelizerc
README.md
config.json
console.js
lib.js
package.json
preUpgrade.dump
tiles.js
webpack.config.js
webpack.dev.js
webpack.prod.js
yarn.lock

README.md

client development

npm run start:dev

to run an interactive session

node console.js

to download prod db:

heroku pg:backups:capture

heroku pg:backups:download

pg_restore --verbose --clean --no-acl --no-owner -h localhost -d crying latest.dump

to test production code

cd /client npm run build

from root node server

for production:

deploying: https://github.com/mars/heroku-cra-node http://docs.sequelizejs.com/en/1.7.0/articles/heroku/ https://github.com/sequelize/sequelize/issues/4142

Emojis from: http://emojipedia.org/

TODO:

code:

  • no more var anywhere
  • use Immutable.js (introduces persistent data structures that cannot be mutated. this makes it simpler for compoenets to subscribe to data changes)
  • use more React PureComponent (this does only a shallow compare on state/props, and otherwise does not rerender component)
  • better division of presentational and container components

features:

  • pins still move slightly when you click (like on pee)
  • forgot my password / email
You can’t perform that action at this time.