Home

Awesome

Bucket Questions

Bucket Questions a game like Truth or Dare, except there are no dares and who you question is randomly assigned.

This project is a formalization of the rules of the game into a webapp.


Deployment

Development

When developing on NixOS, just navigate to ./backend and run nix-shell. This should pull all dependencies in and start a postgres server. It doesn't pull in Node.js currently, so you still have to get that yourself.

If you don't want to use nix, a docker solution similar to the one above exists called docker-compose-dev.yml. After starting that, you want to attach to the app container.

In both cases, you will have to put your GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET into the shell environment, because you don't want to leak those into version control. The fastest way to develop is to use npm start for the frontend, and cargo run -- --development --secret "SOME_SECRET". This allows the hot-reloading utilized by npm start, and proxies all the requests to the development server.