- The API for the Welp, Restaurant App.
- The API consists of 5 domain models with
has_many
andbelongs_to
associations. - Sample data was pulled from a network request in Grubhub.
- The repository to the client-side.
- The deployed application can be found here.
- Here is the link to the demo.
Before setting up, make sure Ruby, Rails and Postgresql have to be installed on your computer.
If it is not installed, go in your terminal, and follow the steps:
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Install Ruby
brew install ruby
- Install Rails
gem install rails
- Install PostgreSQL
brew install postgresql
From your terminal,
- Clone the repo and
cd
into the folder - Install dependencies with
bundle install
- Create migrations, migrate, and seed:
rails db:create
rails db:migrate
rails db:seed
- Launch the server with
rails s
Ruby on Rails
- Rack Cors
- Active Model Serializers
- Active Record
- BCrypt
- JSON Web Tokens
- Cloudinary (photo uploads)
- Figaro (environment variables)
Reinald Reynoso