https://github.com/johno/random-a11y-api
API for random-a11y
https://github.com/johno/random-a11y-api
Last synced: about 1 year ago
JSON representation
API for random-a11y
- Host: GitHub
- URL: https://github.com/johno/random-a11y-api
- Owner: johno
- Created: 2016-05-28T17:40:56.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T16:58:26.000Z (almost 9 years ago)
- Last Synced: 2025-04-22T23:36:55.654Z (about 1 year ago)
- Language: Ruby
- Homepage: http://randoma11y.com
- Size: 656 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a11y-combos
The back end for voting on accessible color combinations.
## Installation
```sh
git clone https://github.com/johnotander/a11y-combos-api.git
cd a11y-combos-api
bundle
```
## Usage
```
rails s
rake test
```
```sh
curl -H "Content-Type: application/json" -X POST -d '{"vote": { "value": true }, "combo": ["#111", "#fafafa"]}' http://randoma11y.com/votes
```