Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/franekstein/react-ts-starter

Modern React & Typescript boilerplate.
https://github.com/franekstein/react-ts-starter

cssmodules postcss react sass typescript webpack

Last synced: about 1 month ago
JSON representation

Modern React & Typescript boilerplate.

Awesome Lists containing this project

README

        

# 📦 React Typescript Starter

Modern React & Typescript boilerplate

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

## Installation

Clone this repo and yarn install.

```bash
yarn
```

## Usage

### Development server

```bash
yarn start
```

You can view the development server at `localhost:8080`.

### Production build

```bash
yarn build
```

You need to generate certificates if you want to use local server (HTTPS/HTTP2) for serving production build

```bash
cd server/certificates
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:4096 -keyout private.key -out certificate.crt
```

or you can serve it with `serve` package

```bash
yarn build
npx serve build
```

## Features

- [Webpack](https://webpack.js.org/)
- [React](https://reactjs.org/)
- [Typescript](https://www.typescriptlang.org/)
- [Babel](https://babeljs.io/)
- [Sass](https://sass-lang.com/)
- [PostCSS](https://postcss.org/) - with CSS Modules, custom properties, custom selectors, custom media and image set

## Problems

## License

This project is open source and available under the [MIT License](LICENSE).