iris-contrib / react-typescript-template

React & Typescript template for Iris CLI

Home Page:https://github.com/kataras/iris-cli

Repository from Github https://github.comiris-contrib/react-typescript-templateRepository from Github https://github.comiris-contrib/react-typescript-template

react-typescript app

build status report card

This is a project template for Iris with React & Typescript apps.

Prerequisites

You will need to have:

  • Node.js and Yarn to build the frontend application.
  • Go to run the web server.
  • Go-Bindata tool to embed the frontend app to the final build. Install it with the following Go command:
go install github.com/go-bindata/go-bindata/v3/go-bindata@latest

Get started

Install & run the template with Iris CLI:

iris-cli run react-typescript
details...

Install the dependencies and build with Yarn...

cd app
yarn install
yarn build
cd ../

...then start the Iris web server:

go-bindata -prefix "app/build" -fs ./app/build/...
go run .

Navigate to localhost:8080. You should see your app running.

About

React & Typescript template for Iris CLI

https://github.com/kataras/iris-cli

License:MIT License


Languages

Language:TypeScript 70.3%Language:HTML 17.9%Language:CSS 9.7%Language:Go 2.1%