This project is an application setup for a typical React web app.
The project is configured using Webpack and Babel and it also has a test configuration, running tests using Jest with enzyme.
It follows the eslint-config-fortech-react
ESLint config standard for modern JavaScript and React.
The complete tools/modules used in this project are listed in package.json.
To get started you can simply clone the repository and install the dependencies:
Clone the repo repository using [git]:
git clone https://github.com/FortechRomania/react-starter-kit
npm install
npm run dev
The application is running now, so open a browser and navigate to localhost:8080
You should see a message displayed on the screen, letting you know that it works.
Alternatively, if you want to run tests with jest, just write this command in the terminal:
npm run test
The project has three main folders:
- src - containing the main folders and files (js, css etc.)
- tests - contains the test files
- test-config - contains the setup needed for running tests with enzyme