Giter VIP home page Giter VIP logo

mcart's Introduction

Mcart

In this project I have implemented some features of Spring Cloud Project for building microservice-based architecture-

  • RESTful web services
  • Centralized Microservice Configuration with Spring Cloud Config Server
  • Client side load balancing (Ribbon), Dynamic scaling(Eureka Naming Server) and an API Gateway (Zuul)
  • Distributed tracing for microservices with Spring Cloud Sleuth and Zipkin
  • Fault Tolerance for microservices with Zipkin

Note: Switch to Microservices branch

Running the Project

  • Select Master or Microservices branch for Monolithic App and Microservices project respectively.
  • Download the zip or clone the Git repository.
  • Unzip the zip file (if you downloaded one)
  • Open Command Prompt and Change directory (cd) to folder containing pom.xml
  • Open Eclipse or STS(Spring Tool Suite)
    • File -> Import -> Existing Maven Project -> Navigate to the folder where you unzipped the zip
    • Select the right project
  • Choose the Spring Boot Application file (search for @SpringBootApplication)
  • Right Click on the file and Run as Java Application

Built With

  • Maven - Dependency Management
  • JDK - Java™ Platform, Standard Edition Development Kit
  • Spring Boot - Framework to ease the bootstrapping and development of new Spring Applications
  • MySQL - Open-Source Relational Database Management System
  • git - Free and Open-Source distributed version control system
  • STS(Spring Tool Suite) - Easy-to-use integration of the Spring Initializr and the famous Spring Guides
  • Postman - API Development Environment (Testing API's)

Packages

entity  to hold our entities;
repositories — to communicate with the database;
services — to hold our business logic;
utility — configuration files;
controllers — to listen to the client;
resources/ - Contains all the static resources, templates and property files.
resources/application.properties - It contains application-wide properties. Spring reads the properties defined in this file to configure your application. You can define server’s default port, server’s context path, database URLs etc, in this file.
pom.xml - contains all the project dependencies

mcart's People

Contributors

sanjoliwatts avatar

Watchers

 avatar  avatar

Forkers

satti-mubashar

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.