Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.25 KB

Seabrook

Book club prompt organization and voting

Named after the beach town Seabrook, WA (get it?)

Please see our development backlog

Tech stack

Grape (a ruby microframework) and MongoDB.

Future: Slack integration also

Development

Install MongoDB: https://docs.mongodb.com/manual/administration/install-community/

bundle install
rake --tasks

Or, if you have seabrook-web cloned as a sibling of this directory, you can use foreman to run the db, API, and frontend:

gem install foreman
foreman start

Deployment

See PCF manifest.yml. Assumes a MongoDB service has been created with name "mongodb".

Note also .travis.yml

MongoDB cheatsheet

Connect to the instance: mongo mongodb://....

In the Mongo shell:

meetings = db.meetings
meetings.updateOne(
  { date: ISODate("2018-08-28") },
  { $set: { "topics": [] } }
)

Miscellaneous thoughts

Might be interesting to try pure functional on the backend as well - Elixir/Phoenix?