├── Chapter01 ├── CompletedCode │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ │ └── scripts.js │ └── styles.css └── StarterFiles │ ├── index.html │ ├── scripts.js │ └── styles.css ├── Chapter02 ├── CompletedCode │ ├── .env.example │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ │ ├── css │ │ │ └── styles.css │ │ └── js │ │ │ ├── general.js │ │ │ └── memes.js │ └── webpack.config.js ├── StarterFiles │ └── index.html ├── webpack-config-production-optimized │ ├── package.json │ └── webpack.config.js └── webpack-config-simple │ ├── package.json │ └── webpack.config.js ├── Chapter03 ├── CompletedCode │ ├── .env.example │ ├── about.html │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ │ ├── assets │ │ │ └── images │ │ │ │ └── loading.gif │ │ ├── css │ │ │ └── styles.css │ │ └── js │ │ │ ├── about.js │ │ │ ├── general.js │ │ │ ├── home.js │ │ │ ├── services │ │ │ ├── api │ │ │ │ └── apiCall.js │ │ │ └── formValidation │ │ │ │ └── validateRegistrationForm.js │ │ │ └── status.js │ ├── status.html │ └── webpack.config.js ├── JSFiddleFiles │ └── Promise.jsFiddle.js ├── Server │ ├── app.js │ ├── npm-shrinkwrap.json │ └── package.json └── StarterFiles │ ├── .env.example │ ├── about.html │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ ├── assets │ │ └── images │ │ │ └── loading.gif │ ├── css │ │ └── styles.css │ └── js │ │ ├── about.js │ │ ├── general.js │ │ ├── home.js │ │ └── status.js │ ├── status.html │ └── webpack.config.js ├── Chapter04 ├── CompletedCode │ ├── .env.example │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ │ ├── css │ │ │ └── styles.css │ │ └── js │ │ │ ├── general.js │ │ │ └── home.js │ └── webpack.config.js ├── JSFiddleFiles │ └── MediaStreamAPI │ │ ├── chrome.html │ │ ├── firefox.html │ │ └── withAdapter.html └── StarterFiles │ ├── .env.example │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ ├── css │ │ └── styles.css │ └── js │ │ ├── general.js │ │ └── home.js │ └── webpack.config.js ├── Chapter05 ├── CompletedCode │ ├── .env.example │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ │ ├── css │ │ │ └── styles.css │ │ └── js │ │ │ ├── CustomElements │ │ │ └── Weather │ │ │ │ ├── Weather.js │ │ │ │ ├── lib │ │ │ │ └── skycons.js │ │ │ │ └── services │ │ │ │ └── api │ │ │ │ └── apiCall.js │ │ │ └── home.js │ └── webpack.config.js ├── JSFiddleFiles │ └── template-jsfiddle.html ├── Server │ ├── .env.example │ ├── app.js │ ├── npm-shrinkwrap.json │ └── package.json ├── StarterFiles │ ├── .env.example │ ├── index.html │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── src │ │ ├── css │ │ │ └── styles.css │ │ └── js │ │ │ └── home.js │ └── webpack.config.js ├── WeatherDependencies │ ├── apiCall.js │ └── skycons.js └── WeatherTemplate │ └── weather-template.html ├── Chapter06 ├── CompletedCode │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ ├── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Components │ │ │ ├── Author │ │ │ │ ├── AuthorList.js │ │ │ │ └── AuthorPosts.js │ │ │ ├── Common │ │ │ │ ├── ErrorMessage.js │ │ │ │ ├── LoadingIndicator.js │ │ │ │ ├── PostSummary.js │ │ │ │ └── SuccessMessage.js │ │ │ ├── Home │ │ │ │ └── Home.js │ │ │ ├── NewPost │ │ │ │ ├── Components │ │ │ │ │ └── PostInputField.js │ │ │ │ └── NewPost.js │ │ │ └── Post │ │ │ │ └── Post.js │ │ ├── assets │ │ │ └── images │ │ │ │ └── loading.gif │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── registerServiceWorker.js │ │ ├── routes.js │ │ └── services │ │ │ └── api │ │ │ └── apiCall.js │ └── yarn.lock ├── JSFiddleFiles │ ├── reactTodoList.html │ └── spreadSyntax.html ├── Server │ ├── .gitignore │ ├── README.md │ ├── api │ │ ├── controllers │ │ │ ├── README.md │ │ │ ├── authors.js │ │ │ ├── comment.js │ │ │ ├── hello_world.js │ │ │ ├── post.js │ │ │ └── posts.js │ │ ├── helpers │ │ │ ├── README.md │ │ │ └── db.js │ │ ├── mocks │ │ │ └── README.md │ │ └── swagger │ │ │ └── swagger.yaml │ ├── app.js │ ├── config │ │ ├── README.md │ │ └── default.yaml │ ├── db.json │ ├── package.json │ └── test │ │ └── api │ │ ├── controllers │ │ ├── README.md │ │ └── hello_world.js │ │ └── helpers │ │ └── README.md └── StarterFiles │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json │ ├── src │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── Components │ │ ├── Author │ │ │ ├── AuthorList.js │ │ │ └── AuthorPosts.js │ │ ├── Common │ │ │ ├── ErrorMessage.js │ │ │ ├── LoadingIndicator.js │ │ │ ├── PostSummary.js │ │ │ └── SuccessMessage.js │ │ ├── Home │ │ │ └── Home.js │ │ ├── NewPost │ │ │ ├── Components │ │ │ │ └── PostInputField.js │ │ │ └── NewPost.js │ │ └── Post │ │ │ └── Post.js │ ├── assets │ │ └── images │ │ │ └── loading.gif │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── registerServiceWorker.js │ ├── routes.js │ └── services │ │ └── api │ │ └── apiCall.js │ └── yarn.lock ├── Chapter07 ├── CompletedCode-with-authorpage │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ ├── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Components │ │ │ ├── Author │ │ │ │ ├── AuthorList.js │ │ │ │ └── AuthorPosts.js │ │ │ ├── Common │ │ │ │ ├── ErrorMessage.js │ │ │ │ ├── LoadingIndicator.js │ │ │ │ ├── PostSummary.js │ │ │ │ └── SuccessMessage.js │ │ │ ├── Home │ │ │ │ └── Home.js │ │ │ ├── NewPost │ │ │ │ ├── Components │ │ │ │ │ └── PostInputField.js │ │ │ │ └── NewPost.js │ │ │ └── Post │ │ │ │ └── Post.js │ │ ├── assets │ │ │ └── images │ │ │ │ └── loading.gif │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── redux │ │ │ ├── actionTypes │ │ │ │ └── actionTypes.js │ │ │ ├── actions │ │ │ │ ├── authorActions.js │ │ │ │ └── postActions.js │ │ │ ├── reducers │ │ │ │ ├── ajaxCallsReducer.js │ │ │ │ ├── authorsReducer.js │ │ │ │ ├── postsReducer.js │ │ │ │ └── rootReducer.js │ │ │ └── store │ │ │ │ ├── configureStore.js │ │ │ │ └── initialState.js │ │ ├── registerServiceWorker.js │ │ ├── routes.js │ │ └── services │ │ │ └── api │ │ │ └── apiCall.js │ └── yarn.lock ├── CompletedCode │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ └── manifest.json │ ├── src │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ ├── Components │ │ │ ├── Author │ │ │ │ ├── AuthorList.js │ │ │ │ └── AuthorPosts.js │ │ │ ├── Common │ │ │ │ ├── ErrorMessage.js │ │ │ │ ├── LoadingIndicator.js │ │ │ │ ├── PostSummary.js │ │ │ │ └── SuccessMessage.js │ │ │ ├── Home │ │ │ │ └── Home.js │ │ │ ├── NewPost │ │ │ │ ├── Components │ │ │ │ │ └── PostInputField.js │ │ │ │ └── NewPost.js │ │ │ └── Post │ │ │ │ └── Post.js │ │ ├── assets │ │ │ └── images │ │ │ │ └── loading.gif │ │ ├── index.css │ │ ├── index.js │ │ ├── logo.svg │ │ ├── redux │ │ │ ├── actionTypes │ │ │ │ └── actionTypes.js │ │ │ ├── actions │ │ │ │ ├── authorActions.js │ │ │ │ └── postActions.js │ │ │ ├── reducers │ │ │ │ ├── ajaxCallsReducer.js │ │ │ │ ├── authorsReducer.js │ │ │ │ ├── postsReducer.js │ │ │ │ └── rootReducer.js │ │ │ └── store │ │ │ │ ├── configureStore.js │ │ │ │ └── initialState.js │ │ ├── registerServiceWorker.js │ │ ├── routes.js │ │ └── services │ │ │ └── api │ │ │ └── apiCall.js │ └── yarn.lock └── StarterFiles │ ├── .env.example │ ├── .gitignore │ ├── README.md │ ├── npm-shrinkwrap.json │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json │ ├── src │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── Components │ │ ├── Author │ │ │ ├── AuthorList.js │ │ │ └── AuthorPosts.js │ │ ├── Common │ │ │ ├── ErrorMessage.js │ │ │ ├── LoadingIndicator.js │ │ │ ├── PostSummary.js │ │ │ └── SuccessMessage.js │ │ ├── Home │ │ │ └── Home.js │ │ ├── NewPost │ │ │ ├── Components │ │ │ │ └── PostInputField.js │ │ │ └── NewPost.js │ │ └── Post │ │ │ └── Post.js │ ├── assets │ │ └── images │ │ │ └── loading.gif │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── registerServiceWorker.js │ ├── routes.js │ └── services │ │ └── api │ │ └── apiCall.js │ └── yarn.lock ├── LICENSE └── README.md /Chapter01/CompletedCode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/CompletedCode/index.html -------------------------------------------------------------------------------- /Chapter01/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter01/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter01/CompletedCode/src/scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/CompletedCode/src/scripts.js -------------------------------------------------------------------------------- /Chapter01/CompletedCode/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/CompletedCode/styles.css -------------------------------------------------------------------------------- /Chapter01/StarterFiles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/StarterFiles/index.html -------------------------------------------------------------------------------- /Chapter01/StarterFiles/scripts.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/StarterFiles/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter01/StarterFiles/styles.css -------------------------------------------------------------------------------- /Chapter02/CompletedCode/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | CONSTANT_VALUE= 3 | -------------------------------------------------------------------------------- /Chapter02/CompletedCode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/index.html -------------------------------------------------------------------------------- /Chapter02/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter02/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter02/CompletedCode/src/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/src/css/styles.css -------------------------------------------------------------------------------- /Chapter02/CompletedCode/src/js/general.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/src/js/general.js -------------------------------------------------------------------------------- /Chapter02/CompletedCode/src/js/memes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/src/js/memes.js -------------------------------------------------------------------------------- /Chapter02/CompletedCode/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/CompletedCode/webpack.config.js -------------------------------------------------------------------------------- /Chapter02/StarterFiles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/StarterFiles/index.html -------------------------------------------------------------------------------- /Chapter02/webpack-config-production-optimized/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/webpack-config-production-optimized/package.json -------------------------------------------------------------------------------- /Chapter02/webpack-config-production-optimized/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/webpack-config-production-optimized/webpack.config.js -------------------------------------------------------------------------------- /Chapter02/webpack-config-simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/webpack-config-simple/package.json -------------------------------------------------------------------------------- /Chapter02/webpack-config-simple/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter02/webpack-config-simple/webpack.config.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | SERVER_URL= 3 | GMAP_KEY= 4 | -------------------------------------------------------------------------------- /Chapter03/CompletedCode/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/about.html -------------------------------------------------------------------------------- /Chapter03/CompletedCode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/index.html -------------------------------------------------------------------------------- /Chapter03/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter03/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/css/styles.css -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/js/about.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/js/about.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/js/general.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/js/general.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/js/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/js/home.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/js/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/js/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/js/services/formValidation/validateRegistrationForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/js/services/formValidation/validateRegistrationForm.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/src/js/status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/src/js/status.js -------------------------------------------------------------------------------- /Chapter03/CompletedCode/status.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/status.html -------------------------------------------------------------------------------- /Chapter03/CompletedCode/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/CompletedCode/webpack.config.js -------------------------------------------------------------------------------- /Chapter03/JSFiddleFiles/Promise.jsFiddle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/JSFiddleFiles/Promise.jsFiddle.js -------------------------------------------------------------------------------- /Chapter03/Server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/Server/app.js -------------------------------------------------------------------------------- /Chapter03/Server/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/Server/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter03/Server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/Server/package.json -------------------------------------------------------------------------------- /Chapter03/StarterFiles/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | SERVER_URL= 3 | GMAP_KEY= 4 | -------------------------------------------------------------------------------- /Chapter03/StarterFiles/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/about.html -------------------------------------------------------------------------------- /Chapter03/StarterFiles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/index.html -------------------------------------------------------------------------------- /Chapter03/StarterFiles/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter03/StarterFiles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/package.json -------------------------------------------------------------------------------- /Chapter03/StarterFiles/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter03/StarterFiles/src/css/styles.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 65px; 3 | } 4 | -------------------------------------------------------------------------------- /Chapter03/StarterFiles/src/js/about.js: -------------------------------------------------------------------------------- 1 | import './general'; 2 | -------------------------------------------------------------------------------- /Chapter03/StarterFiles/src/js/general.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/src/js/general.js -------------------------------------------------------------------------------- /Chapter03/StarterFiles/src/js/home.js: -------------------------------------------------------------------------------- 1 | import './general'; 2 | -------------------------------------------------------------------------------- /Chapter03/StarterFiles/src/js/status.js: -------------------------------------------------------------------------------- 1 | import './general'; 2 | -------------------------------------------------------------------------------- /Chapter03/StarterFiles/status.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/status.html -------------------------------------------------------------------------------- /Chapter03/StarterFiles/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter03/StarterFiles/webpack.config.js -------------------------------------------------------------------------------- /Chapter04/CompletedCode/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | -------------------------------------------------------------------------------- /Chapter04/CompletedCode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/index.html -------------------------------------------------------------------------------- /Chapter04/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter04/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter04/CompletedCode/src/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/src/css/styles.css -------------------------------------------------------------------------------- /Chapter04/CompletedCode/src/js/general.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/src/js/general.js -------------------------------------------------------------------------------- /Chapter04/CompletedCode/src/js/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/src/js/home.js -------------------------------------------------------------------------------- /Chapter04/CompletedCode/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/CompletedCode/webpack.config.js -------------------------------------------------------------------------------- /Chapter04/JSFiddleFiles/MediaStreamAPI/chrome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/JSFiddleFiles/MediaStreamAPI/chrome.html -------------------------------------------------------------------------------- /Chapter04/JSFiddleFiles/MediaStreamAPI/firefox.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/JSFiddleFiles/MediaStreamAPI/firefox.html -------------------------------------------------------------------------------- /Chapter04/JSFiddleFiles/MediaStreamAPI/withAdapter.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/JSFiddleFiles/MediaStreamAPI/withAdapter.html -------------------------------------------------------------------------------- /Chapter04/StarterFiles/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | -------------------------------------------------------------------------------- /Chapter04/StarterFiles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/StarterFiles/index.html -------------------------------------------------------------------------------- /Chapter04/StarterFiles/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/StarterFiles/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter04/StarterFiles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/StarterFiles/package.json -------------------------------------------------------------------------------- /Chapter04/StarterFiles/src/css/styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter04/StarterFiles/src/js/general.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/StarterFiles/src/js/general.js -------------------------------------------------------------------------------- /Chapter04/StarterFiles/src/js/home.js: -------------------------------------------------------------------------------- 1 | import './general'; 2 | -------------------------------------------------------------------------------- /Chapter04/StarterFiles/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter04/StarterFiles/webpack.config.js -------------------------------------------------------------------------------- /Chapter05/CompletedCode/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | SERVER_URL= 3 | -------------------------------------------------------------------------------- /Chapter05/CompletedCode/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/index.html -------------------------------------------------------------------------------- /Chapter05/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter05/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter05/CompletedCode/src/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/src/css/styles.css -------------------------------------------------------------------------------- /Chapter05/CompletedCode/src/js/CustomElements/Weather/Weather.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/src/js/CustomElements/Weather/Weather.js -------------------------------------------------------------------------------- /Chapter05/CompletedCode/src/js/CustomElements/Weather/lib/skycons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/src/js/CustomElements/Weather/lib/skycons.js -------------------------------------------------------------------------------- /Chapter05/CompletedCode/src/js/CustomElements/Weather/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/src/js/CustomElements/Weather/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter05/CompletedCode/src/js/home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/src/js/home.js -------------------------------------------------------------------------------- /Chapter05/CompletedCode/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/CompletedCode/webpack.config.js -------------------------------------------------------------------------------- /Chapter05/JSFiddleFiles/template-jsfiddle.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/JSFiddleFiles/template-jsfiddle.html -------------------------------------------------------------------------------- /Chapter05/Server/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/Server/.env.example -------------------------------------------------------------------------------- /Chapter05/Server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/Server/app.js -------------------------------------------------------------------------------- /Chapter05/Server/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/Server/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter05/Server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/Server/package.json -------------------------------------------------------------------------------- /Chapter05/StarterFiles/.env.example: -------------------------------------------------------------------------------- 1 | NODE_ENV= 2 | SERVER_URL= 3 | -------------------------------------------------------------------------------- /Chapter05/StarterFiles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/StarterFiles/index.html -------------------------------------------------------------------------------- /Chapter05/StarterFiles/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/StarterFiles/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter05/StarterFiles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/StarterFiles/package.json -------------------------------------------------------------------------------- /Chapter05/StarterFiles/src/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/StarterFiles/src/css/styles.css -------------------------------------------------------------------------------- /Chapter05/StarterFiles/src/js/home.js: -------------------------------------------------------------------------------- 1 | import '../css/styles.css'; 2 | -------------------------------------------------------------------------------- /Chapter05/StarterFiles/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/StarterFiles/webpack.config.js -------------------------------------------------------------------------------- /Chapter05/WeatherDependencies/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/WeatherDependencies/apiCall.js -------------------------------------------------------------------------------- /Chapter05/WeatherDependencies/skycons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/WeatherDependencies/skycons.js -------------------------------------------------------------------------------- /Chapter05/WeatherTemplate/weather-template.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter05/WeatherTemplate/weather-template.html -------------------------------------------------------------------------------- /Chapter06/CompletedCode/.env.example: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL= 2 | -------------------------------------------------------------------------------- /Chapter06/CompletedCode/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/.gitignore -------------------------------------------------------------------------------- /Chapter06/CompletedCode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/README.md -------------------------------------------------------------------------------- /Chapter06/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter06/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter06/CompletedCode/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/public/favicon.ico -------------------------------------------------------------------------------- /Chapter06/CompletedCode/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/public/index.html -------------------------------------------------------------------------------- /Chapter06/CompletedCode/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/public/manifest.json -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/App.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/App.test.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Author/AuthorList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Author/AuthorList.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Author/AuthorPosts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Author/AuthorPosts.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Common/ErrorMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Common/ErrorMessage.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Common/LoadingIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Common/LoadingIndicator.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Common/PostSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Common/PostSummary.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Common/SuccessMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Common/SuccessMessage.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Home/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Home/Home.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/NewPost/Components/PostInputField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/NewPost/Components/PostInputField.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/NewPost/NewPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/NewPost/NewPost.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/Components/Post/Post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/Components/Post/Post.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/index.css -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/index.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/logo.svg -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/routes.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/src/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/src/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter06/CompletedCode/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/CompletedCode/yarn.lock -------------------------------------------------------------------------------- /Chapter06/JSFiddleFiles/reactTodoList.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/JSFiddleFiles/reactTodoList.html -------------------------------------------------------------------------------- /Chapter06/JSFiddleFiles/spreadSyntax.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/JSFiddleFiles/spreadSyntax.html -------------------------------------------------------------------------------- /Chapter06/Server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/.gitignore -------------------------------------------------------------------------------- /Chapter06/Server/README.md: -------------------------------------------------------------------------------- 1 | # Skeleton project for Swagger 2 | -------------------------------------------------------------------------------- /Chapter06/Server/api/controllers/README.md: -------------------------------------------------------------------------------- 1 | Place your controllers in this directory. 2 | -------------------------------------------------------------------------------- /Chapter06/Server/api/controllers/authors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/controllers/authors.js -------------------------------------------------------------------------------- /Chapter06/Server/api/controllers/comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/controllers/comment.js -------------------------------------------------------------------------------- /Chapter06/Server/api/controllers/hello_world.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/controllers/hello_world.js -------------------------------------------------------------------------------- /Chapter06/Server/api/controllers/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/controllers/post.js -------------------------------------------------------------------------------- /Chapter06/Server/api/controllers/posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/controllers/posts.js -------------------------------------------------------------------------------- /Chapter06/Server/api/helpers/README.md: -------------------------------------------------------------------------------- 1 | Place helper files in this directory. 2 | -------------------------------------------------------------------------------- /Chapter06/Server/api/helpers/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/helpers/db.js -------------------------------------------------------------------------------- /Chapter06/Server/api/mocks/README.md: -------------------------------------------------------------------------------- 1 | Place controllers for mock mode in this directory. 2 | -------------------------------------------------------------------------------- /Chapter06/Server/api/swagger/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/api/swagger/swagger.yaml -------------------------------------------------------------------------------- /Chapter06/Server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/app.js -------------------------------------------------------------------------------- /Chapter06/Server/config/README.md: -------------------------------------------------------------------------------- 1 | Place configuration files in this directory. 2 | -------------------------------------------------------------------------------- /Chapter06/Server/config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/config/default.yaml -------------------------------------------------------------------------------- /Chapter06/Server/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/db.json -------------------------------------------------------------------------------- /Chapter06/Server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/package.json -------------------------------------------------------------------------------- /Chapter06/Server/test/api/controllers/README.md: -------------------------------------------------------------------------------- 1 | Place your controller tests in this directory. 2 | -------------------------------------------------------------------------------- /Chapter06/Server/test/api/controllers/hello_world.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/Server/test/api/controllers/hello_world.js -------------------------------------------------------------------------------- /Chapter06/Server/test/api/helpers/README.md: -------------------------------------------------------------------------------- 1 | Place your helper tests in this directory. 2 | -------------------------------------------------------------------------------- /Chapter06/StarterFiles/.env.example: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL= 2 | -------------------------------------------------------------------------------- /Chapter06/StarterFiles/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/.gitignore -------------------------------------------------------------------------------- /Chapter06/StarterFiles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/README.md -------------------------------------------------------------------------------- /Chapter06/StarterFiles/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter06/StarterFiles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/package.json -------------------------------------------------------------------------------- /Chapter06/StarterFiles/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/public/favicon.ico -------------------------------------------------------------------------------- /Chapter06/StarterFiles/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/public/index.html -------------------------------------------------------------------------------- /Chapter06/StarterFiles/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/public/manifest.json -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/App.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/App.test.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Author/AuthorList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Author/AuthorList.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Author/AuthorPosts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Author/AuthorPosts.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Common/ErrorMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Common/ErrorMessage.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Common/LoadingIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Common/LoadingIndicator.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Common/PostSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Common/PostSummary.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Common/SuccessMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Common/SuccessMessage.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Home/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Home/Home.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/NewPost/Components/PostInputField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/NewPost/Components/PostInputField.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/NewPost/NewPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/NewPost/NewPost.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/Components/Post/Post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/Components/Post/Post.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/index.css -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/index.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/logo.svg -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/routes.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/src/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/src/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter06/StarterFiles/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter06/StarterFiles/yarn.lock -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/.env.example: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL= 2 | -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/.gitignore -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/README.md -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/package.json -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/public/index.html -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/App.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/App.test.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Author/AuthorList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Author/AuthorList.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Author/AuthorPosts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Author/AuthorPosts.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Common/ErrorMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Common/ErrorMessage.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Common/LoadingIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Common/LoadingIndicator.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Common/PostSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Common/PostSummary.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Common/SuccessMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Common/SuccessMessage.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Home/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Home/Home.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/NewPost/Components/PostInputField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/NewPost/Components/PostInputField.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/NewPost/NewPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/NewPost/NewPost.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/Components/Post/Post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/Components/Post/Post.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/index.css -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/index.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/logo.svg -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/actionTypes/actionTypes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/actionTypes/actionTypes.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/actions/authorActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/actions/authorActions.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/actions/postActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/actions/postActions.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/reducers/ajaxCallsReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/reducers/ajaxCallsReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/reducers/authorsReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/reducers/authorsReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/reducers/postsReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/reducers/postsReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/reducers/rootReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/reducers/rootReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/store/configureStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/store/configureStore.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/redux/store/initialState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/redux/store/initialState.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/routes.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/src/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/src/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode-with-authorpage/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode-with-authorpage/yarn.lock -------------------------------------------------------------------------------- /Chapter07/CompletedCode/.env.example: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL= 2 | -------------------------------------------------------------------------------- /Chapter07/CompletedCode/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/.gitignore -------------------------------------------------------------------------------- /Chapter07/CompletedCode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/README.md -------------------------------------------------------------------------------- /Chapter07/CompletedCode/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter07/CompletedCode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/package.json -------------------------------------------------------------------------------- /Chapter07/CompletedCode/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/CompletedCode/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/public/index.html -------------------------------------------------------------------------------- /Chapter07/CompletedCode/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/App.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/App.test.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Author/AuthorList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Author/AuthorList.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Author/AuthorPosts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Author/AuthorPosts.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Common/ErrorMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Common/ErrorMessage.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Common/LoadingIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Common/LoadingIndicator.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Common/PostSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Common/PostSummary.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Common/SuccessMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Common/SuccessMessage.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Home/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Home/Home.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/NewPost/Components/PostInputField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/NewPost/Components/PostInputField.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/NewPost/NewPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/NewPost/NewPost.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/Components/Post/Post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/Components/Post/Post.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/index.css -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/index.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/logo.svg -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/actionTypes/actionTypes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/actionTypes/actionTypes.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/actions/authorActions.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/actions/postActions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/actions/postActions.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/reducers/ajaxCallsReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/reducers/ajaxCallsReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/reducers/authorsReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/reducers/authorsReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/reducers/postsReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/reducers/postsReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/reducers/rootReducer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/reducers/rootReducer.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/store/configureStore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/store/configureStore.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/redux/store/initialState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/redux/store/initialState.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/routes.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/src/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/src/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter07/CompletedCode/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/CompletedCode/yarn.lock -------------------------------------------------------------------------------- /Chapter07/StarterFiles/.env.example: -------------------------------------------------------------------------------- 1 | REACT_APP_SERVER_URL= 2 | -------------------------------------------------------------------------------- /Chapter07/StarterFiles/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/.gitignore -------------------------------------------------------------------------------- /Chapter07/StarterFiles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/README.md -------------------------------------------------------------------------------- /Chapter07/StarterFiles/npm-shrinkwrap.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/npm-shrinkwrap.json -------------------------------------------------------------------------------- /Chapter07/StarterFiles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/package.json -------------------------------------------------------------------------------- /Chapter07/StarterFiles/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/public/favicon.ico -------------------------------------------------------------------------------- /Chapter07/StarterFiles/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/public/index.html -------------------------------------------------------------------------------- /Chapter07/StarterFiles/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/public/manifest.json -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/App.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/App.test.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Author/AuthorList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Author/AuthorList.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Author/AuthorPosts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Author/AuthorPosts.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Common/ErrorMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Common/ErrorMessage.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Common/LoadingIndicator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Common/LoadingIndicator.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Common/PostSummary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Common/PostSummary.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Common/SuccessMessage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Common/SuccessMessage.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Home/Home.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Home/Home.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/NewPost/Components/PostInputField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/NewPost/Components/PostInputField.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/NewPost/NewPost.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/NewPost/NewPost.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/Components/Post/Post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/Components/Post/Post.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/assets/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/assets/images/loading.gif -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/index.css -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/index.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/logo.svg -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/registerServiceWorker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/registerServiceWorker.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/routes.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/src/services/api/apiCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/src/services/api/apiCall.js -------------------------------------------------------------------------------- /Chapter07/StarterFiles/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/Chapter07/StarterFiles/yarn.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/JavaScript-by-Example/HEAD/README.md --------------------------------------------------------------------------------