An open API service indexing awesome lists of open source software.

https://github.com/fortechromania/react-starter-kit

A simple React starter kit
https://github.com/fortechromania/react-starter-kit

react starter-kit webpack

Last synced: 11 months ago
JSON representation

A simple React starter kit

Awesome Lists containing this project

README

          

This project is an application setup for a typical [React](https://reactjs.org/) web app.

# Introduction
The project is configured using [**Webpack**](https://webpack.js.org/) and [**Babel**](https://babeljs.io/) and it also has a test configuration, running tests using [**Jest**](https://facebook.github.io/jest/) with [**enzyme**](https://github.com/airbnb/enzyme).

It follows the [`eslint-config-fortech-react`](https://github.com/FortechRomania/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_**.

## Getting Started
To get started you can simply clone the repository and install the dependencies:

### Clone the repository
Clone the repo repository using [git]:
```
git clone https://github.com/FortechRomania/react-starter-kit
```

### Install project dependencies
```
npm install
```

### Run the server
```
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.

### Running tests
Alternatively, if you want to run tests with jest, just write this command in the terminal:

```
npm run test
```

### Project Structure
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