Backend repo for the Menu app, using rails api mode. The data loaded into the db is not real and only used for prototyping. The indexing is done through Searchkick & Opensearch (fork of Elasticsearch).
- Ruby 3.1.2
- Rails 7
- Docker
chmod +x bin/docker-entrypoint.sh
bundle
rails db:migrate
rails db:seed
rails server
docker compose -f docker-compose.dev.yml up
See dev.md
exception": "#<Searchkick::MissingIndexError: Index missing - run Menu.reindex>"
Run: rake searchkick:reindex CLASS=Menu
inside the container or in your terminal
- Add compose service for production
- Write proper tests