Coder Social home page Coder Social logo

upvote_api's Introduction

Build Status

For further documentation regarding the scope and functionality of this API, please review the repository supporting the Front-End - Here

Hosted

Endpoints

Ideas

  • get '/cohorts/ideas'

    • returns the index of all ideas in a Cohort
  • post '/cohorts/ideas/new'

    • post a new idea
  • get '/cohorts/ideas/:id'

    • show an idea
  • post '/cohorts/ideas/:id/edit'

    • edit an idea
  • post '/cohorts/ideas/:id/delete'

    • delete an idea

Votes

  • post '/cohorts/ideas/:id'
    • 'create' a vote

Statistics

  • get '/statistics'
    • 'show' current statistics

Login/Logout/OAuth

  • get '/logout'

    • logout and destroy the session
  • get 'auth/github'

    • login thru OAuth
  • get '/auth/github/callback'

    • login thru OAuth
  • get '/current_user'

    • get to current user

Data for all endpoints are exposed under an api and version (v1) namespace (e.g., /api/v1/cohorts), returned in JSON format.

Contributors

upvote_api's People

Contributors

freeheeling avatar hale4029 avatar jobannon avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

freeheeling

upvote_api's Issues

As an API,

when I receive an authenticated request for an idea creation for a user,
I can create a card from the incoming data

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.