Giter Club home page Giter Club logo

book-library-using-polymerjs's Introduction

book-library-using-polymerJs

DEMO

My Reads

This project contains the following functionalities

  • 3 classifications of books
    • Continue Reading
    • Want to Read
    • Read
  • User should be able to move a book from one category to other
  • User should be able to remove a book by selecting none category
  • An "Add" option that lets user to "Search" for popular books
  • From the search results user can add a book to the above mentioned category
  • From the search results user can add more than 1 book to the above mentioned category, by bulk selecting

To start in local machine

  1. Clone the master branch
  2. cd book-library-using-polymerJs
  3. npm i
  4. bower i
  5. npm run start-dev

Component placement

  <app-location/> <!-- From polymer -->
  <iron-pages> <!-- From polymer -->

    <!-- View 1 : Book listing -->
    <book-listing>
      <book-shelf> <!-- Category : Continue Reading -->
        <li><single-book/></li>
        ...
        <li><single-book/></li>
      </book-shelf>
      <book-shelf> <!-- Category : Want to read -->
        <li><single-book/></li>
        ...
        <li><single-book/></li>          
      </book-shelf>
      <book-shelf> <!-- Category : Read -->
        <li><single-book/></li>
        ...
        <li><single-book/></li>          
      </book-shelf>      
    </book-listing>

    <!-- View 2 : Book search -->
    <book-lookup>
      <!-- Search results -->
      <li><single-book/></li>
      ...
      <li><single-book/></li>    
    </book-lookup>
  </iron-pages>

Backend Server

  • Backend server is written in node. File : server.js
  • All the data are static to the backend server
  • So a restart of the REST API will clear out any data that was submitted to the API
  • Refer : books.raml

NPM scripts

  • To start development server : npm run start-dev
  • To prod development server : npm run start
  • To test : npm run test
  • To build : npm run build
  • To deploy : npm run deploy

book-library-using-polymerjs's People

Watchers

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