PCrompton / timestamper-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Dependencies

Ruby 2.6.3
Rails 6.0.1 or greater
Postgresql

Run

rails server

View Timestamps in Browser

http://localhost:3000

Create Timestamp

curl -X POST http://localhost:3000/timestamps \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -d "{ \"unix_timestamp\": "$(date +"%s")" }"

About


Languages

Language:Ruby 76.6%Language:HTML 13.0%Language:JavaScript 8.4%Language:CSS 2.0%