Demo is at https://nastabulak.github.io/.
to run locally you need to copy folder
and install all dependencies inside it
$ npm install
than run production mode
$ npm run build
you can see the app at http://localhost:5000
or run development mode
$ npm run build
and the app will be opened at http://localhost:8080 with HMR.
- Click "Show News" button and you will see the available channels to get news.
- Choose the channels you're interested in.
- Press "Get your news" button.
- You will see the articles below the form.
The task is to create an application that uses newsapi, which will run purely on the client-side and provide the user possibility to select some news channel where he wants to get news.
- promises;
- fetch;
- modules;
- default parameters
- template literals
- multi-line strings
- destructuring assignment
- arrow functions
- classes
- let as variable declaration
- async/await
The task is to use webpack and configure the bundler for development and production mode and write custom chainable loader for removing number attributes from source.
-
Singleton;
-
Prototype (constructor);
-
LazyLoading
-
Facade (service);
-
Front Controller;
-
Flux;
-
Action;
-
State;