Skip to content

This is the API that will talk to the React.js front-end and the hardware. It acts as a hub for doing calculations and sending messages

Notifications You must be signed in to change notification settings

Oh-KPond/color-our-sign-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Requirements

  • This app was created using
    • Ruby version 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
    • Rails version: 5.2.0

Up & Running on Localhost

  1. Clone project
  2. cd into 'color-our-sign-api'
  3. run bundle install
  4. run rails s

API Description

GET /queued_colors

Lists all queues colors and their created at timestamps

GET /color

Returns single object with color information

POST /queued_colors

Create a new color in the queued colors.

Upon success, this request should return the id of the color created and the time until this color will appear on the sign.

Request body:

Field Datatype Description
color string Color chosen by user in digit form

Installed Gems Include

rufus-scheduler

This App is deployed through Heroku

Links to Connecting Code (React App & Hardware Repos)

Note

  • Development API is created when a Pull Request is made. See Review Apps for more information

About

This is the API that will talk to the React.js front-end and the hardware. It acts as a hub for doing calculations and sending messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published