Skip to content

seattle-beach/seabrook

Repository files navigation

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?

About

book club prompts backend(?)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages