Git Product home page Git Product logo

spring-rest-black-market's Introduction

spring-rest-black-market

Build status

Building and Running

Make sure that Java 8 is installed and is on the path.

Project uses Gradle as a build tool. Building is as easy as running the following shell command on Linux / Unix systems:

./gradlew build

This is the respective shell command to run on Windows:

gradlew build

Once the application is built, run it as follows:

java -jar build/libs/spring-rest-black-market.jar

Navigate to http://localhost:8080 and surf through the black market ;)

Development

IntelliJ IDEA

Recommended version of the IDE is 14+

Just import build.gradle file from the IDE itself using File -> Open ...

Make sure that annotation processors are enabled and received from the project classpath. When using IntelliJ IDEA 14 this feature is activated in Preferences screen under Build, Execution, Deployment -> Compiler -> Annotation Processors path where Enable annotation processing must be checked and Obtain processors from project classpath option must be selected. This is utterly important for the project to compile.

Boot up the server by locating Application class and running it as Application or Spring Boot.

Static Content

All static content put under src/main/resources/static will be exposed automatically (like any other application based on Spring Boot). To hot deploy static sources just trigger compilation in the IDE and refresh the page in the browser. To get all client side dependencies just run npm

npm install

AdBlock issue

If you have the errors like GET http://localhost:8080/ads/search net::ERR_BLOCKED_BY_CLIENT please add this url into AdBlock exception (white list). This happens because AdBlock automatically blocks url that contains the word ads

spring-rest-black-market's People

Contributors

my8bit avatar vtsukur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-rest-black-market's Issues

Administration page seems broken

Being logged in as administrator, I got two errors in dev console:

admin.js:124 Uncaught TypeError: Cannot read property 'forEach' of undefined
admin.js:21779 GET http://localhost:8080/ads/search net::ERR_BLOCKED_BY_CLIENT

"Sozdat novuyu zayavku" button does not work as well.
Is it me doing smth wrong?
Thanks!

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.