Skip to content

Repository files navigation

Prerequisites

  • Ruby 4.0+
  • PostgreSQL 14+

Installation

  1. Clone and Install:
bundle install
  1. Database Setup:
bin/rails db:prepare
  1. Start the Server:
bin/rails s

API Reference

Restaurants

  • GET /api/v1/restaurants - List all restaurants with nested menus.
  • GET /api/v1/restaurants/:id - Detailed view of a single restaurant.

Menus

  • GET /api/v1/menus - List all menus across the system.
  • GET /api/v1/menus/:id - View a specific menu with its items and prices.

JSON → Application Model Conversion Tool

How to Run:

The tool is exposed via a HTTP endpoint. To perform a conversion, ensure the server is running and submit a POST request with your JSON payload:

curl -X POST -H "Content-Type: application/json" \
     -d @restaurant_data.json \
     http://localhost:3000/api/v1/ingestions

Testing

bundle exec rspec --format documentation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages