Giter Site home page Giter Site logo

gitter-badger / microcks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microcks/microcks

0.0 0.0 0.0 578 KB

Manage your micro-services mocks !

Home Page: http://microcks.github.io

License: Apache License 2.0

JavaScript 10.73% Java 80.97% HTML 7.54% CSS 0.59% Groovy 0.17%

microcks's Introduction

microcks

Build Status

Current development version is 0.5.1-SNAPSHOT. Build Status

Installation

Development

For development purposes, frontend GUI and backend APIs have been separated and runs onto 2 different runtime servers.

  • Frontend is an AngularJS application served by Grunt server with livereload enabled,
  • Backend is a Spring Boot application served by Boot internal server

Pre-requisites

  • NodeJS (version >= 6.0) and associated tools : NPM, Bower and Grunt-cli
  • Java Development Kit (version 8) and Apache Maven (version >= 3.0)
  • MongoDB 3.2

Start servers

In a terminal, start frontend GUI server using Grunt :

$ grunt serve

Server is started on port 9000. Grunt should open a new browser tab pointing to http://localhost:9000 where application s hosted.

$ mvn spring-boot:run

Server is started on port 8080 and will be used as API endpoints root by frontend GUI (URLs starting by http://localhost:9000/api will be indeed proxied to port 8080).

Build binaries

Build and run Fat jar

For now, there's still a problem with Frontend integration tests configuration so you should disable them using the following flag:

$ mvn -Pprod package -Dyo.test.skip=true
$ java -jar target/microcks-0.5.1-SNAPSHOT.jar

Build and run Docker image

$ mvn -Pprod clean package -Dyo.test.skip=true docker:build
$ docker-compose -f microcks-mongodb.yml up -d

microcks's People

Contributors

lbroudoux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.