Skip to content
An online book store written in Java (Spring) & Angular2 (RESTful).
Java TypeScript HTML CSS JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


license Build Status

The repo contains the server and client sides of the Book4You project. Book4You is a university project for #20503 - Workshop: Advanced Programming with Java course.

Our Stack

Installation (for development)

Client side:

  1. Run npm install -g angular-cli to install angular-cli.
  2. Run npm install to install dependencies.
  3. Run ng serve to fire up dev server.
  4. Open browser at http://localhost:4200.

Server side:

  1. Install PostgreSQL (you can use this tutorial)

  2. Create the database, and grunt the postgres user access

psql postgres -c "CREATE DATABASE bookforyou"
psql postgres -c "ALTER USER postgres WITH PASSWORD 'postgres'"

The database name and user name will be in /server/src/main/resources/

  1. Install the project
mvn clean install
  1. Run it
java -jar target/book4you-0.0.1-SNAPSHOT.jar

We take the target from the pom.xml file, and run it like: target/<artifactId>-<version>.jar.

Then go to http://localhost:8080 (the server default port can be changed in /server/src/main/resources/ at server.port argument).


Client side:

  • Run ng test --no-watch.
  • Run ng e2e.

Server side:

  • Not yet..



You can’t perform that action at this time.