This project was bootstrapped with Create React App.
Below you will find some information on how to perform common tasks.
You can find the most recent version of this guide here.
Before the first run, install all dependencies:
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
The code only provides a minimal but functional skeleton of the application. It does not use any widget library, you're free to choose your own or none at all. The code also is not structured very well, please fix that.
If you don't want to start the server locally, you can also adjust api.js
and set the backend url to https://wed3-server.herokuapp.com
.
The template already contains the configuration for Visual Studio Code. If Flow is used, the corresponding extension flowtype.flow-for-vscode
needs to be installed. I'd also recommend to install the ESLint plug-in dbaeumer.vscode-eslint
as well as Prettier esbenp.prettier-vscode
for automatic formatting.
The template already works out of the box with Atom. I'd also recommend to install the nuclide
package for Flow support as well as prettier-atom
for automatic formatting.
WebStorm can also be used to develop React applications. See this blog post for setup instructions.