Coder Social home page Coder Social logo

my-retail's Introduction

my-retail

This application was generated using Spring Initializer, you can find documentation and help at SpringBoot Docs.

This is a "microservice" application intended to be part of a microservice architecture, please refer to the Doing microservices with SpringBoot page of the documentation for more information.

This microservice (my-retail) is configured to run on port 8500. This can be reconfigured in the application.properties file.

This microservice (my-retail) uses embedded mongodb as backend database which is not persistent. As you stop your application all the data you write to it will be lost. This is purely for development purposes only. If you want to use your local mongo db instance, just update the scope of embedded-mongo to test so that embedded mongo will only be used during test phase.

For development purposes, sample data is being inserted into embedded mongo from the repository layer after @PostConstruct of the bean.

For more details on API endpoints and usage, please refer to swagger UI after starting the application at Swagger UI.

Development

To start your application in the default profile, run:

./mvnw

For further instructions on how to develop with Spring Boot, have a look at Using SpringBoot in development.

Building for production

Packaging as jar

To build the final jar and optimize the my-retail application for production, run:

./mvnw -Pprod clean verify

To ensure everything worked, run:

java -jar target/*.jar

Testing

To launch your application's tests, run:

./mvnw verify

Installing your application locally

To install your application in your local environment, run:

./mvnw install

For more information, please contact [email protected].

my-retail's People

Contributors

veeraprasad512 avatar

Watchers

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