Giter Site home page Giter Site logo

pet-clinic's Introduction

<ORG_NAME>
If the above icon shows "PASSED" then the current code has been successfully build on Circle CI.

pet-clinic

This project is a mimic of the Pet Clinic application built by the Spring community using Maven. It is built on Spring MVC and uses technologies like Spring JPA, Hibernate, Thymeleaf and Project Lombok. Test-driven approach has been followed using JUnit 5, Mockito and Circle CI for Continuous build integrations. The application is deployed on localhost:8080 using using Apache Tomcat Server.

Prerequisites to run the app

The following items should be installed in your system:

Running App locally

You can build a jar file and run it from the command line:

git clone https://github.com/Priyanshu-git/pet-clinic.git
cd pet-clinic
mvnw package
cd pet-clinic-web/target
java -jar pet-clinic-web-0.0.3-SNAPSHOT

You can then access the Application here: http://localhost:8080/

Working with pet-clinic in your IDE

Steps:

  1. On the command line

    git clone https://github.com/Priyanshu-git/pet-clinic.git
    
  2. Inside Eclipse or STS

    File -> Import -> Maven -> Existing Maven project
    

    Then either build on the command line ./mvnw generate-resources or using the Eclipse launcher (right click on project and Run As -> Maven install) to generate the css. Run the application main method by right clicking on it and choosing Run As -> Java Application.

  3. Inside IntelliJ IDEA In the main menu, choose File -> Open and select the pet-clinic pom.xml. Click on the Open button.

    CSS files are generated from the Maven build. You can either build them on the command line ./mvnw generate-resources or right click on the spring-pet-clinic project then Maven -> Generates sources and Update Folders.

    A run configuration named pet-clinic Application should have been created for you if you're using a recent Ultimate version. Otherwise, run the application by right clicking on the pet-clinic Application main class and choosing Run 'pet-clinic Application'.

  4. Navigate to pet-clinic

    Visit http://localhost:8080 in your browser.

pet-clinic's People

Contributors

priyanshu-git avatar

Stargazers

Ayush Srivastav avatar

Watchers

 avatar

pet-clinic's Issues

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.