Code Monkey home page Code Monkey logo

movies's Introduction

Created from template spring-rest-service, version 1.0.2

movies microservice

${description}

To run locally

This Spring Boot microservice is driven using Maven. To run locally simply execute the following from the command line:

> ./mvnw spring-boot:run

This will launch the microservice on port 8080 by default.

To run tests

This microservice comes with some rudimentary tests as a good starting point for writing your own. Use the following command to execute the tests using Maven:

> ./mvnw test

To run inside a docker container

You can build, pacakge and run this microservice using Docker right out of the box. First make sure you have build the microservice locally by executing the following Maven command:

> ./mvnw package

Now you have built the necessary artifacts, the next step is to build your docker image. From a terminal where you have access to Docker, execute the following command:

> docker build -t my_microservice .

You can now run your dockerized microservice with the following command:

> docker run -name my_microservice -i -t my_microservice

History

Originally created by Atomist on 2016-07-13.

movies's People

Contributors

sforzand avatar russmiles avatar

Watchers

James Cloos 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.