A very opinionated (React/TypeScript/Redux/etc) frontend boilerplate
This is all you need to get started in developing your own web application, using TypeScript, React, server-side rendering and all the other hip tools. If you know what you are doing, you can follow the quick start guide or you can go learn with the walk-through starting here.
git clone [email protected]:Lapanti/ts-react-boilerplate.git
yarn
in the console to install dependencies (it'll take a while on the first run, so go on and read ahead while you wait)yarn develop
in your console (inside the folder you downloaded the code to) and open up your browser in the address it prints outyarn build
yarn start
or read the How to Docker guide to Dockerize your applicationyarn test
The Dockerfile is where you can find the configuration to build a Docker image out of your application. The first line of the Dockerfile
(starting with FROM
) includes the base for your Dockerfile, feel free to change it if you want to.
docker build .
docker run -d -p 8080:8080 bd9b1d6725bc
but replace bd9b1d6725bc
with the image ID you received from the previous commandThe following are all the dependencies of the project, with the reasoning behind their inclusion:
Read the contribution guidelines
yarn
in console
yarn develop
in consoleyarn test
yarn test -- -u
yarn test:watch
yarn test:ci
create-ts-react-boilerplate
scriptsYou can contact me through here in Github or on Twitter
All of the code is licensed under the MIT license