Giter Club home page Giter Club logo

API Server

API Routes

Workout

  • GET /api/workout/:workout_id (Get a workout by workout_id)
  • POST /api/workout (Create/Update a workout)
  • DELETE /api/workout/:workout_id (Delete a workout by workout_id)

Workouts

  • GET /api/workouts (Get all the workouts)
  • GET /api/workouts/:user_id (Get all the workouts by user_id)

Move

  • GET /api/move/:move_id (Get a move by move_id)
  • POST /api/move (Create/Update a workout)
  • DELETE /api/move/:move_id (Delete a move by move_id)

Moves

  • GET /api/moves (Get all moves)
  • GET /api/moves/:workout_id (Get all moves by workout_id)

User

  • GET /api/user/:user_id (Get a user by user_id)
  • GET /api/user//username/:username (Get a user by username)

Users

  • GET /api/users/ (Get all users)

Follow

  • POST /api/follow (Create a follow)
  • DELETE /api/follow/:user_id/:followee_id (Delete a follow where user_id is currently following followee_id)

Follows

  • GET /api/follows/:user_id (Get all followed users of the passed in user_id)

Authentication

  • GET /auth/signout (Log out and kill session)
  • POST /auth/signin (Sign in)
  • POST /auth/signup (Create a new user)

bananafitness's Projects

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.