philipsorst / angular-rest-springsecurity

An example AngularJS Application that uses a Spring Security protected Jersey REST backend based on Hibernate/JPA
Apache License 2.0
620 stars 367 forks source link

Could you please provide the database file? #33

Closed Eainde closed 7 years ago

philipsorst commented 7 years ago

Hi, what exactly do you mean by "database file"?

gaoobin commented 7 years ago

could you please provide the sql file.create tables and insert needed data sql

malikme3 commented 7 years ago

Also what is user and password to login ?

philipsorst commented 7 years ago

There is no explicit schema file as the Schema is implicitly defined via JPA annotations. It is automatically deployed during the startup of the application, in our case to the in memory HSQLDB. The database is then populated with the example data as provided in the DataBaseInitializer. There are two users: 'user' with password 'user' and 'admin' with password 'admin'.