Giter Site home page Giter Site logo

tusnta's Introduction

The test social network app

A sample app to demonstrate my skills in React, Redux and JS in general.

Installation notes

  1. Checkout this repo to the desired folder
  2. Run npm install in this folder
  3. When npm finishes, run npm run dev to build the app in development mode and run the watcher. To run in production mode type npm run prod.
  4. Open dist/index.html in your browser.

General notes

Why haven't I used the IndexedDB technology to store the friends data?

At the very beginning I admitted the idea of a web worker doing the heavy stuff to be pretty interesting. Also, the IndexedDB had in past couple of year some issues on mobile devices as well as differences in implementation among the browser vendors. Anyway, these issues are not impossible to solve, and if the friends DB will need to scale some day, the IndexedDB is be a great tool to use. Personally, I prefer this IndexedDB driver implementation: https://www.npmjs.com/package/idb

What was the hardest part

The History API. I had almost no experience working with it, so it was a little challenge. But that was really interesting to get things to work.

The spent time

As you can see through the commits history, writing the app code itself took something about a day. The webpack setting is a pleasure so I did it without the unnecessary haste.

tusnta's People

Watchers

James Cloos avatar Nikita Pavlovskiy 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.