a better basket to put all your eggs in
Find a file
2025-09-02 15:36:26 -04:00
.github initial public commit!!! 2025-09-02 13:53:47 -04:00
app initial public commit!!! 2025-09-02 13:53:47 -04:00
bin initial public commit!!! 2025-09-02 13:53:47 -04:00
config initial public commit!!! 2025-09-02 13:53:47 -04:00
db dang it! 2025-09-02 15:36:26 -04:00
lib initial public commit!!! 2025-09-02 13:53:47 -04:00
log initial public commit!!! 2025-09-02 13:53:47 -04:00
public initial public commit!!! 2025-09-02 13:53:47 -04:00
script initial public commit!!! 2025-09-02 13:53:47 -04:00
storage initial public commit!!! 2025-09-02 13:53:47 -04:00
tmp initial public commit!!! 2025-09-02 13:53:47 -04:00
vendor initial public commit!!! 2025-09-02 13:53:47 -04:00
.dockerignore initial public commit!!! 2025-09-02 13:53:47 -04:00
.gitattributes initial public commit!!! 2025-09-02 13:53:47 -04:00
.gitignore initial public commit!!! 2025-09-02 13:53:47 -04:00
.rubocop.yml initial public commit!!! 2025-09-02 13:53:47 -04:00
.ruby-version initial public commit!!! 2025-09-02 13:53:47 -04:00
config.ru initial public commit!!! 2025-09-02 13:53:47 -04:00
docker-compose-dbonly.yml initial public commit!!! 2025-09-02 13:53:47 -04:00
Dockerfile initial public commit!!! 2025-09-02 13:53:47 -04:00
Dockerfile.worker initial public commit!!! 2025-09-02 13:53:47 -04:00
Gemfile initial public commit!!! 2025-09-02 13:53:47 -04:00
Gemfile.lock initial public commit!!! 2025-09-02 13:53:47 -04:00
package.json initial public commit!!! 2025-09-02 13:53:47 -04:00
Procfile.dev initial public commit!!! 2025-09-02 13:53:47 -04:00
Rakefile initial public commit!!! 2025-09-02 13:53:47 -04:00
README.md add slack channel to readme 2025-09-02 14:14:25 -04:00
vite.config.mts initial public commit!!! 2025-09-02 13:53:47 -04:00
yarn.lock initial public commit!!! 2025-09-02 13:53:47 -04:00

Identity Vault

This is the Rails codebase powering https://identity.hackclub.com!

contributing:

ask around in #idv-dev or poke nora!

avoid questions that can be answered by reading the source code, but otherwise i'd be happy to help you get up to speed :-D

kindly bin/lint your code before you submit it!

areas of focus:

the ops view components (look in app/components) are a hot mess...

so is the onboarding controller, she should really be ripped out and replaced.

dev setup:

  • make sure you have working installations of ruby ≥ 3.4.4 & nodejs
  • clone repo
  • create .env.development, populate DATABASE_URL w/ a local postgres instance
  • run bundle install
  • run rails db:prepare
  • console in (bin/rails console)
    • Backend::User.create!(slack_id: "U<whatever>", username: "<you>", active: true, super_admin: true)
  • run bin/dev (and bin/vite dev if you want hot reload on css & js)
  • visit http://localhost:3000/backend/login, paste that Slack ID in, and "fake it til' you make it"

security

this oughta go without saying, but if you find a security-relevant issue please either contact me directly or go through the security.hackclub.com flow if you just open an issue or a PR there's a chance a bad actor sees it and exploits it before we can patch or merge.