Giter Club home page Giter Club logo

blog-commentsection's Introduction

RequireJs

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.

Implemented HATEOAS:

  • Get User by ID:
{
  "id": 5,
  "user": {
    "fullname": "Administrator",
    "email": "[email protected]",
    "self": {
      "href": "/rest/user/5"
    }
  },
  "avatar": {
    "profile_picture_url": "img/common/commentAvatar.png",
    "self": {
      "href": "/image/Administrator/5"
    }
  }
}

  • Get Comment by ID:
{
  "id": 2,
  "created_by_current_user": false,
  "created_by_admin": true,
  "user_has_upvoted": false,
  "parent": null,
  "author": {
    "creator": 5,
    "fullname": "Administrator",
    "self": {
      "href": "/profile/Administrator/5"
    }
  },
  "message": {
    "content": "Sed posuere interdum sem. Quisque ligula eros ullamcorper quis, lacinia quis facilisis sed sapien. Mauris varius diam vitae arcu.",
    "date": {
      "created": "\"2017-03-28",
      "modified": "2017-03-28"
    },
    "upvote_count": 2,
    "pings": null
  },
  "avatar": {
    "profile_picture_url": "img/common/commentAvatar.png",
    "self": {
      "href": "Administrator/images/5"
    }
  },
  "self": {
    "href": "/rest/comment/2"
  }
}

SnapShot:

Alt text

License

Latest Release: 2.3.3 Open source: new BSD or MIT licensed web design by Andy Chung © 2011-2017

blog-commentsection's People

Contributors

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