Both frontend and backend
HOW TO IMPORT:
-
git clone the project
-
If you want to use IDE, use "activator ui" and import both backend and frontend, generate the ide code.
-
Use "git status" to check the status of github, if you modified the "build.sbt", please "git checkout build.sbt", if there are other differences, please contact me with Slack or Email
-
Import the code into the IDE
HOW TO CONFIGURE:
-
To avoid confilting with the existing database, please first create a new database named "scientificSN2" in MySQL
-
The username and password are all "root"
-
I have uploaded a database dump file which contain the data extracted from dblp.xml
HOW TO RUN:
-
Go to the frontend folder and run './bin/activator "run 9068" '
-
Go to the backend folder and run './bin/activator "run 9069" '
-
Notice that there is a "./bin" this time which is due to the difference of version of Play
-
Then the backend code will generate the table automaticly
-
Database-related configuration is in the bottom of conf/application.conf in Backend folder
HOW TO CODE:
-
There are some difference between this version and the last version
-
For backend: The biggest difference is using EBean instead of Spring, you can check that on http://ebean-orm.github.io/
-
For frontend: The biggest difference is how to communicate with backend, you can check my code in "getAllPublications" to know how to get it.
-
For both backend and frontend, remember to delete useless part( Ebean-related parts )
Last, sorry for the delay and inconvenience, if you hava any problems, contact me on Slack, Email or Wechat~