ca-archived / aeromock

Lightweight mock web application server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aeromock

Gitter chat Maven Central Circle CI License: MIT Coverage Status logo

What is Aeromock?

Aeromock is an application server that generates HTML from template files and data files. It enables speedy frontend development without the need for server side modules. Aeromock is referred to as a lightweight mock web application server.

Features

  • No need to restart the application server once it has been started.
  • HTML pages are generated from template files and their corresponding data files (JSON or YAML).
  • Supports templates that invoke methods and make use of custom tags and functions.
  • Various patterns can be rendered per template file.
  • URL rewriting can be controlled via a routing script.
  • Capable of functioning as a mock JSON API server.
  • Capable of functioning as a static content server (js, css, images).
  • Respond binary data of Protocol Buffers, and messagepack.

Getting started

Please refer to the wiki.

Requirements

  • Java >= 1.7
  • Git
  • Vagrant >= 1.5 (If using Vagrant Share)

Docker Image

Docker Hub

Supported template engines (Currently)

  • Freemarker
  • handlebars.java
  • Jade4j
  • Velocity
  • Groovy Template Engine
  • Thymeleaf

Contributors

License

See LICENSE.

Copyright © CyberAgent, Inc. All Rights Reserved.

About

Lightweight mock web application server

License:MIT License


Languages

Language:Scala 69.6%Language:HTML 7.4%Language:FreeMarker 6.2%Language:Groovy 6.0%Language:JavaScript 4.5%Language:Shell 3.9%Language:Protocol Buffer 1.2%Language:Java 0.8%Language:CoffeeScript 0.3%Language:CSS 0.0%