- Librarian is a software made for recommending books. It is a "reader's advisory" tool made to help people choose their next book
- Install the
model
application (kjar
andservice
do not need to be installed) - In the
application.properties
ofservice
application set thehibernate.ddl-auto
field tocreate
- Uncomment the
LoadData()
function inside the@PostConstruct
of theServiceApplication.java
- Set the path inside the
LoadData()
function to the.csv
files - Run
docker compose up
inside of librarian-db folder to startup the PostgreSQL database - Run the service application and wait approx. 5 minutes for the data to load.
- Shut down the application and change the
hibernate.ddl-auto
field fromcreate
back toupdate
- Comment the
LoadData()
function inside the@PostConstruct
of theServiceApplication.java
- Run the application again. It should start in approx 80 seconds.
- Use
npm start
inside of librarian/front to start up the frontend application (it will serve onlocalhost:5000
) - Create an account, populate the preferences tab with subjects and authors and enjoy!