Giter Club home page Giter Club logo

wolfwr's Introduction

wolfWr-backend

Backend for WolfWR

Running using JAR (without installation)

  • Go to the project repository and run "./mvnw clean install"
    • This will generate the jar (wolfwr-1.0.0.jar) inside target folder
  • Once you have the jar you can run the app using "java -jar wolfwr-1.0.0.jar"
  • Now go to "http://localhost:8000/api/swagger-ui/#/" to access the APIs

Installation

  • Clone the GitHub repository from here. It is a private repository, if you don't have access contact [email protected] or [email protected].
  • Import the project as a maven project in your choice of editor (we prefer STS)
  • Download & Install lombok.
    • Run lombok using java -jar lombok.jar (make sure the version of java is the same as the one used in STS)
    • Select the location of your editor of choice.
    • For STS
      • On MAC
        • /Applications/SpringToolSuite4.app/Contents/Eclipse/SpringToolSuite4.ini
      • On Windows
        • Directory where STS is installed
        • e.g. C:\ProgramFiles\sts\sts-4.5.1.RELEASE
  • Please go to Project -> Clean (Build Automatically) after doing this

Running

  • For running select the project in STS and right click โ†’ run/debug as โ†’ Spring Boot App
  • The Application will start running at the port 8000 by default
  • You can also open the project via terminal and run "mvn clean install" to generate a jar for the project.
    • This will generate a project jar in $Project_Directory/target/
    • To run the jar simply run the command "java -jar $path_to_generated_project_jar.jar"

Configurations

  • You might want to use different ports/ database URLs to specify configurations relevant to your setup update $project_directory/src/main/resources/application.yml
    • To change the port update the property server.port
    • To change the database url/username/password update spring.datasource.url/username/password

wolfwr's People

Contributors

nirav1929 avatar

Watchers

 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.