Giter Site home page Giter Site logo

waysync-pair-programming's Introduction

WaySync Pair Programming Exercise

Prerequisites

This repo is using Rails 7, so you'll need at least Ruby 2.7+, though Ruby 3.0+ is recommended. (installation guide)

You will need yarn in order to install JavaScript dependencies. (installation guide)

You will need bundle in order to install Ruby dependencies. (installation guide)

You will need foreman in order to run the development server. (installation guide)

Setup

bundle
yarn
rails db:create

Development server

bin/dev

Existing Code

This repo is a default Rails 7 application. All that has been done is setup for user accounts via Devise, react-rails via esbuild, and scaffolding for the Quote model.

Customers

Customers are represented by the user Devise model.

Carrier APIs

There are two carrier APIs available (Carriers R Us and The Shippers). You can see the API specs in the api-specs folder. All requests to these APIs are mocked, please use one of these HTTP libraries to ensure mocking works. The mocks do not catch invalid requests (yet), so I'll let you know if you've made one.

If you would like to see visual documentation, you can load the spec files into Swagger Editor.

Testing

RSpec and Cuprite

waysync-pair-programming's People

Contributors

dyeje 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.