Code Monkey home page Code Monkey logo

sigma_js_internship_2021's People

Contributors

di-shu avatar dmytro1991ua avatar kachyr avatar oleksandrstarov avatar seleznev-ilya avatar solomiia-sahala avatar

Watchers

 avatar

sigma_js_internship_2021's Issues

[Service] Create API service

install and configure Axios;
Create Constants File apis;
Create interface for API :

  • get movies by search word from API;
  • get popular movies from API;
  • get top-rated movies from API;
  • get movie by movie's ID;

Create interface for local Storage(create object with data as)
Store an object that stores two arrays as favorites and the story and state of the site theme;
favorites array of favorites movies ;
story array of story (last seen movies ) ;
(create method as):

set Store (data in local storage);

  • get Store (data in local storage);

Favorites :

  • set Favorites by ID;
  • get Favorites all list;
  • delete Favorites by ID;

Story :

  • set Story by ID;
  • get Story all list;
  • delete Story by ID;

Create few methods for work with IMG and state of them
method to transform piece of links inside response API data to full link on IMG
method for switch state of them (from light to dark and back)

Create manual to use API service
Document with description of methods and explanation who to use it

[Service] Create interface for local Storage

(create object with data as):

store an object that stores two arrays as favorites and the story and state of the site theme;
favorites array of favorites movies ;
story array of story (last seen movies ) ;
(create method as):

set Store (data in local storage);
get Store (data in local storage);
Favorites :

set Favorites by ID;
get Favorites all list;
delete Favorites by ID;
Story :

set Story by ID;
get Story all list;
delete Story by ID;

[design] Footer:

  • added social links;
  • links "favorites", "home";
  • email and phone;
  • change style for more fancy;

[Footer]Create Footer

Initial Footer Component was divided into two different components - Contacts Component which now holds social links and contacts details and Footer Component itself. The main purpose of dividing a Footer Component is to keep components more clean and neat.

[decomposition]

Create map of main components:

  • Add router
  • Create pages
  • Get constants with API links
  • Create Header
  • Create Footer
    Other smaller steps and components ...

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.