This is a project template for Iris with React & Typescript apps.
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
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.