All Projects → Accenture → openathon-2019-react

Accenture / openathon-2019-react

Licence: GPL-3.0 license
Openathon edition organised for the Accenture Technology Custom Open Cloud community where we will have again the opportunity to discover, in a practical way, the possibilities offered by the different architectures and leading frameworks in the market.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

II Openathon Custom Open Cloud

II Openathon Custom Open Cloud

You are welcome to a new Openathon edition organized for the Accenture Technology Custom Open Cloud community where, once again, we will have the opportunity to discover, in a practical way, the possibilities offered by the different architectures and leading frameworks in the market.

As you already knows, this time we will learn to develop a FrontEnd web application using React. We will also use some of the recommended best practices such as routing, asynchronous REST API access, reusable components and state management.

React’s strongest capability is the creation of web interfaces based on reusable components. Therefore, we are going to create and reuse our own components while learning how to manage their life cycle, the management of props and the JSX syntax while exercising our knowledge of JavaScript (ES6).

What we are going to do

We will learn how to develop a web application using React, playing with props, JSX, Virtual DOM, components, routing, REST API consumption, components reuse… and applying some of the recommended good practices like Single responsibility principle, Isolation, functional programming and prototypal inheritance.

The web application will consist on a Main and two detail pages:

Web Map

The main page of the application will have this structure:

Mockup

The main page is a modularized page that takes advantage of many reusable components, whose hierarchy can be seen in the following picture:

Components Use

To provide data to the page we will also use a mocked REST API endpoint emulating the Accenture site data services:

Components and API

Openathon Labs

This edition of the Openathon is divided in the following labs:

Lab Title
Lab 00 JavaScript and React
Lab 01 Starting a New React Project
Lab 02 React Fundamentals
Lab 03 Fetching Data in your React Application
Lab 04 Using React Router
Lab 05 Completing your App Home Page
Lab 06 Using Nested Routes
Lab 07 Form Components in React
Lab 08* Integrating Axios Library
Lab 09* Persisting data in your JSON Server
Lab Testing* React Unit Testing

* Optional Labs for further learning

Prerequisites

  1. Install Visual Studio Code for your operating system:

    Visual Studio Code is a source code editor with support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.

    Click here to download and install

  2. Install Node.js for your operating system:

    Node.js is a free, open source server environment that runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.) using the JavaScript runtime built on Chrome's V8 JavaScript engine.

    Click here to download and install.

    This installation will also install npm, the package manager for Node.js and the world's largest software registry.

  3. Install webpack

    Open your terminal or command prompt and run:

    npm install webpack -g

    webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging. More info.

  4. Install json-server

    Open your terminal or command prompt and run:

    npm install json-server -g

    JSON Server is a Node module that can be used to create demo REST web services in a few minutes using a JSON file to provide sample data. We will configure it later.

    Click here to know more.

  5. Download and install React Developer Tools

    React Developer Tools is a Chrome DevTools extension for the open-source React JavaScript library. It allows you to inspect the React component hierarchies in the Chrome Developer Tools.

    Click here to download and install.

Next >

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].