/reactnd-project-readable

Readable project for Udacity React Nanodegree

Primary LanguageJavaScript

Udacity - React Nanodegree

Readable Project

This project was developed in fulfillment of React Nanodegree - React and Redux module.

Requirements

The main dependencies and tools that were used to develop this projects:

  • node 8.9.3
  • npm 5.6.0
  • create-react-app 1.4.3
  • react 16.x
  • react-icons 2.x
  • react-router 4.2.x
  • react-router 4.2.2

To ensure the perfect execution of this project, please follow the instructions in the next sections.

Preparing the Back End Server

A back end server, nodejs based, is available in its own GIT repository. Make sure you download or clone this repository to proceed.

Next to cloning/downloading the back end server, enter its /api-server folder, then type node server.js to start its process. The following output must appear on your terminal:

$ node server.js<ENTER>
Server listening on port 3001, Ctrl+C to stop

To be sure it is running and well, just visit the url http://localhost:3001. The service documentation will be displayed, describing all its endpoints, parameters and outputs.

Running the Client React App

By cloning or downloading this repository, all you need is to access its root, then type npm install to prepare all dependencies needed.

After the installation finishes, type npm start to start the application. It may take a while, but as soon as its done loading, a browser windows will popup with the application.

The following output from the terminal is expected:

Compiled successfully!

You can now view leitura in the browser.

  Local:            http://localhost:3000/
  On Your Network:  http://192.168.0.23:3000/

Note that the development build is not optimized.
To create a production build, use npm run build.