This project demonstrate how the Jersey framework can be used as a Restful API to power a Vuejs frontend
Thing you will need
- Java It is better to use an IDE. the IDE of choice is Intellij
- PostgresSQL
- Nodejs and NPM
- Install Tomcat
-
Setup your database a. In the database folder there is a file call dump.sql it is a dump of my database using pg_dump. the application is however built to install the tables but you will need the init data is for the lookup tables b. The config for the database can be found in src/CONSTANTS.java c. Build your project into a .war file
-
Run you backend server first Install tomcat and upload the war file in target/tomcat_war.war
-
cd into the client folder a. Install the dependences using
npm install
b. Start the server usingnpm run dev
-
Remember to change the url in service-manager/client/src/main.js to point to your servers url