Build Javascript localStorage collections library and publish to NPM. | Mike M. | Skillshare

Build Javascript localStorage collections library and publish to NPM.

Mike M., Learn and Share

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
15 Videos (1h 19m)
    • About this course

    • Introduction

    • Basic setup

    • A basic description of the localStorage and sessionStorage

    • Demonstration of the localStorage methods

    • An overview of the Collection class and methods we are going to implement

    • Check if the localStorage exists and implement createUID

    • Implement the helper functions

    • Create the Collection class

    • Implement the save method

    • Implement the findAll method

    • Implement the findById method

    • Implement the update method

    • Implement the remove method

    • Publish the library on NPM


About This Class

If you are a beginner to intermediate level Javascript developer and want to take your Javascript skills to a whole new level, this is the course for you. 

I am sure, too many times, you have heard people state you should use third party Javascript frameworks and libraries when building your apps. It is true, reinventing the wheel when building apps is not recommended. So, you might have thought it is important to just learn frameworks and have neglected the core (Javascript) which is the underlying language in which all those JS frameworks and libraries are written in. If we don't spend time to learn plain Javascript very well, we won't be improving the skills needed to become better Javascript developers and will most likely get stuck when it comes to resolving issues that require us to dive deep into the sources of those frameworks such as Angular, React, Vue.js, etc.

Therefore, I thought, creating this course, which walks you through building a library using just plain Javascript without any third party dependency would be a great way for you to take your understanding of Javascript to the next level.

In this course you will build a library that will enhance the browser's localStorage into a collections based database that will be capable of storing collections of multiple items

The library you will build will also allow you to find collection items by their ids, update individual collections items, and remove items by ids.  You will also learn about different Javascript data types and be able to do type checking throughout your application using helper function you will create. 

You will build a class and its methods and create an instance from the class and apply the methods that your just created.

You will see debugging techniques as we will make an extensive use of the Chrome browser's inspector to walk through our code line by line and examine values and states of different variables.





  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv


Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

Mike M.

Learn and Share

Report class