Skip to content

nirgn975/Book4You

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

Book4You

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/application.properties.

  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/application.properties at server.port argument).

Tests

Client side:

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

Server side:

  • Not yet..

License

ISC

About

An online book store written in Java (Spring) & Angular2 (RESTful).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published