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

https://github.com/chvid/react-starter

Template for a React/Bulma/Webpack project.
https://github.com/chvid/react-starter

Last synced: about 1 month ago
JSON representation

Template for a React/Bulma/Webpack project.

Awesome Lists containing this project

README

        

# Template for a React/Bulma/Webpack Project

A reasonable starting point for a frontend application anno 2021:

- React without additional fluff.
- Webpack with relevant loaders including babel for ES6+ and live reloading.
- A folder for static non-embedded images and an index.html that automatically gets scripts and css added.
- Bulma plus font-awesome.
- Jest for tests.

To see this particular app point your browser to http://financial-advice.christianhvid.dk

## Requirements

Node.js + npm.

## Usage

To install packages:

```
npm install
```

To run in developer mode with hot reloading:

```
npm run start
```

Point your webbrowser to http://localhost:1234

To create a minified distributable for deployment:

```
npm run build
```

The folder 'dist' will contain the distributable; to publish the application copy all the files.

To clean the build run:

```
npm run clean
```

To run tests usings jest:

```
npm run test
```

To watch tests usings jest:

```
npm run watch
```

To reformat using prettier:

```
npm run prettier
```