/simple_rest_api

A simple REST API built on Ruby On Rails.

Primary LanguageRubyMIT LicenseMIT

Simple REST API

This repo contains the code from the talk: "Building a simple REST API in Ruby On Rails", presented on February 27th.

Pre-requisites

  • RVM (Ruby Version Manager)
  • Ruby v2.6.0
  • Ruby on Rails v6.0.0
  • MySQL 5.7.24

Set up

  • Install gems with bundle install
  • Set up database with
    • rails db:setup
    • raills db:migrate

Run server

rails server

Run Tests

As simple as running rspec

Start making requests!

You can user POSTMAN or any tool you prefer (even cURL)