December 2017
Intermediate to advanced
404 pages
9h 28m
English
Start by creating a new directory for your React frontend application. Next, initialize the directory as a new npm package:
$ npm init
The npm init command will prompt you for a few (more or less), important information about your project. In the end, it should generate a package.json file, which should look roughly like this:
{
"name": "myevents-ui",
"version": "1.0.0",
"description": "",
"main": "dist/bundle.js",
"author": "Martin Helmich",
"license": "MIT"
}
In general, our application will have the following directory structure:
Read now
Unlock full access