Coder Social home page Coder Social logo

rails-engine's Introduction

Contributors Issues Stargazers Forks

Welcome to Mock Merchant API

A ReSTful API utilizing advanced business analytics

Find the project spec here.

Table of Contents

Overview

Mock Merchant API is a 1 week, single person project, during Mod 3 of 4 for Turing School's Back End Engineering Program.

The scenario is that I am working for a mock company developing an E-Commerce Application. The team is working in a service-oriented architecture, meaning the front and back ends of this application are separate and communicate via APIs. My job is to expose the data that powers the site through an API that the front end will consume.

Technical objectives:

  • ⭐ Expose a ReSTful API
  • ⭐ Utilize serializers to format JSON responses
  • ⭐ Properly implement both unit and integration tests
  • ⭐ Compose advanced ActiveRecord queries to analyze information stored in SQL databases
  • ⭐ Write basic SQL statements without the assistance of an ORM
  • ⭐ Deploy to Heroku

Examples

Please reference the Endpoint Utilization Reference Site for full details

List Example Output

Schema

Schema Layout

Technical Requirements

Tools Used

Framework

Languages

Tools


Gems


Development Principles

Contributors

👤 Brian Fletcher

Setup

This project requires Ruby 2.7.2.

  • Fork this repository
  • Clone your fork
  • From the command line, install gems and set up your DB:
    • bundle
    • bundle update
    • rails db:create
  • Run the test suite with bundle exec rspec.
  • Run your development server with rails s to see the app in action.

Project Configurations

  • Ruby version

    $ ruby -v
    ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
  • System dependencies

    $ rails -v
    Rails 5.2.6
  • Database creation

    $ rails db:{drop,create,migrate,seed}
    Created database 'rails-engine_development'
    Created database 'rails-engine_test'
  • How to run the test suite

    $ bundle exec rspec
  • Local Deployment, for testing:

    $ rails s
    => Booting Puma
    => Rails 5.2.6 application starting in development
    => Run `rails server -h` for more startup options
    Puma starting in single mode...
    * Version 3.12.6 (ruby 2.7.2-p137), codename: Llamas in Pajamas
    * Min threads: 5, max threads: 5
    * Environment: development
    * Listening on tcp://localhost:3000
    Use Ctrl-C to stop
    

rails-engine's People

Contributors

bfl3tch avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.