Skip to content

iris-contrib/mvc-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iris MVC Application Template

build status report card

This is a project template for Iris MVC apps.

Prerequisites

You will need to have:

  • Iris CLI installed to run the iris-cli command.
  • Node.js to build the frontend application.

Get started

Install the template with Iris CLI:

iris-cli new --module=my-app mvc

Install the dependencies and build the MVC app manually with Rollup...

cd app
npm install
npm run build

...then start the Iris web server:

cd ../
go run main.go

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