Giter Club home page Giter Club logo

ezspeaky-api's Introduction

EzSpeaky API

Technologies Used

  • Rails
  • Scaffold the tables needed with attributes required.
  • Use of protected controller for user to see therapies and create comments and open read controller for videos.

Installation instructions

  • bundle install

Links to EzSpeaky API essentials

API routes

Route Verb URI Pattern Controller#Act
comments GET /comments(.:format) comments#index
POST /comments(.:format) comments#create
comment GET /comments/:id(.:format) comments#show
PATCH /comments/:id(.:format) comments#update
PUT /comments/:id(.:format) comments#update
DELETE /comments/:id(.:format) comments#destroy
videos GET /videos(.:format) videos#index
video GET /videos/:id(.:format) videos#show
therapies GET /therapies(.:format) therapies#index
therapy GET /therapies/:id(.:format) therapies#show
sign_up POST /sign-up(.:format) users#signup
sign_in POST /sign-in(.:format) users#signin
DELETE /sign-out/:id(.:format) users#signout
PATCH /change-password/:id(.:format) users#changepw
users GET /users(.:format) users#index
user GET /users/:id(.:format) users#show

Approach

  • Identify tables needed and relationships, as well as attributes for each table. I struggled setting up the relationship because I provide most of the information in the app for therapies and the videos that belong to each therapy. In order to fulfill requirements, I found a way for users to CRUD on the app, through comments; this is a join table between users and therapies. Protected controllers are used for comments and therapies and an openRead controller was used for videos.

Major hurdle

  • Not major hurdles but once I update the app, I would like to add more tables that allow me to display interactive therapies for kids and parents.

ezspeaky-api's People

Contributors

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