Skip to content

dolphinxx/mustache-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mustache Showcase

A simple mustache showcase illustrates how to use the same mustache templates in both frontend(Node) and backend(Java).

English | 中文

Mustache is a logic-less templates, implemented in many languages.

This project shows how we can write a web project's backend codes with spring-webflux and leave mustache templates and css/js codes to the frontend colleagues.

Quick try

// checkout the project
$ git clone https://github.com/adaikiss/mustache-showcase.git mustache-showcase mustache-showcase
// go to frontend directory
$ cd frontend
// install npm dependencies
$ npm i
// run static resource server
$ gulp serve
// go to backend directory
$ cd ../backend
// run backend server
$ mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Dspring.mustache.prefix=file:..\\frontend\\template\\ -Dspring.profiles.active=dev" 

About

Mustache usage in both frontend and backend

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published