-
With Docker
- Docker
- Docker compose
-
Without Docker
- Postgres
- Rails 7.1.x
- Ruby 3.2.2
cp config/application.yml.example config/application.yml
-> create environment filedocker-compose up -d
-> start docker environmentdocker exec -it ubuteco_api /bin/bash
-> enter in docker containerrails db:setup
-> create tables and database updatesrails db:migrate
-> create tables and database updatesrails db:seed
-> populate database with real datarails db:populate
-> populate database with fake datarspec
-> run all testsbundle exec rails parallel:setup
-> setup the db for parallel specsbundle exec rails parallel:spec
-> run all specs in parallelrails s -b 0.0.0.0
-> start server
http://localhost:3000/api-docs
ws://localhost:3000/api/cable
-> websockethttp://localhost:3000/api/v1
-> api endpointhttp://localhost:3000/auth
-> api auth endpoint
-
Channels:
- KitchenChannel
-
Broadcasts:
- "kitchens_#{organization_id}"
-
Emails
-
passwords:
123123123
- Fork it
- Write your changes
- Commit
- Send a pull request