Skip to content

agnostic backend API on Rails 6 hosted on heroku

Notifications You must be signed in to change notification settings

yffenim/fire_api

Repository files navigation

Fire API, Version 1

A Front-End Agnostic API for tracking wakefullness throughout the day.

That which is not measured, cannot be managed. Get to know your circadian rhythmn.

Built on Rails 6.1.0.4 so that a database migration to MongoDB would be water off a duck's back.

Also using: https://github.com/activeadmin/activeadmin https://github.com/waiting-for-dev/devise-jwt

Front-End Clients

Native: https://github.com/yffenim/fire_native

Browser: TBD

Local Usage

bundle install rails db:migrate db:seed rails s

Online Interaction

Base URL: https://limitless-citadel-71686.herokuapp.com/

If you need to reseed the dddatabase:

heroku rake db:seed

Note: Db requires default object data to work so keep it seeded.

If you need to make model changes to the database:

heroku restart

heroku pg:reset DATABASE_URL

heroku rake db:migrate db:seed

Docs -- For Later Versions - TBD

API Endpoints

Users

Create an account: https://limitless-citadel-71686.herokuapp.com/auth/sign_up

Login to your account: https://limitless-citadel-71686.herokuapp.com/auth/sign_in

Models (Tracked Data)

Alertness: https://limitless-citadel-71686.herokuapp.com/api/alerts

Second Model: https://limitless-citadel-71686.herokuapp.com/api/seconds

Third Model: https://limitless-citadel-71686.herokuapp.com/api/thirds

Browser Interaction

Active Admin Users - NOT for regular interaction

https://limitless-citadel-71686.herokuapp.com/admin

Default user login: "admin@example.com" "password"

About

agnostic backend API on Rails 6 hosted on heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages