Project is inactive and have been shutdown. You can watch a complete demo in:

Download documentation
Welcome to the repository for my end of degree project. Here you will find an app (Front-end based on Angular and back-end on Spring Boot) to audit companies. Auditors can audit companies with questionnaires, manage audited company employees.
The webpage can be found on https://app-upaudit.firebaseapp.com/index
You can find me on Linkedin or Github and ask me any doubt
- Front-end: Front-end based on Angular. Used Boostrap
- Back-end: Back-end based on Spring Boot. Used AWS S3, OAuth 2.0 and Itext.
- Database: Prepared Mysql database filled with all the data needed to test the deploy
On the database provided you can use the following username-password to enter the application
- Audit Boss: 18273634A-qwerty
- Audit Employee: 39405948Z-qwerty
- Client Boss: 65746353Y-qwerty
- Admin: 11111111Z-123456
Here I describe the steps to deploy the solution like I did, it's not the only way, for example you can use an EC2 Amazon Web Service machine.
- Create or use an active account on Heroku.
- Create New App and install Heroku CLI.
- On the app resources -> Addons add JawsDB as a resource.
- Create or use an active account on Amazon Web Service.
- Create a new user with S3 privileges.
- Create a new bucket on Amazon S3, select the region and put public privileges. After that create two folders pdf and images.
- Open Windows PowerShell and use in order this commands
cd Project Directory
heroku login
heroku git:remote -a nameProjectOnHeroku
heroku plugins:install java
heroku addons:create jawsdb
heroku config:get JAWSDB_URL
On the last step you will get your DB connection settings.
Theres is an application.properties on the project. You have to change the following parameters
- spring.datasource.url=Obtained with JAWSDB_URL
- spring.datasource.username=Obtained with JAWSDB_URL
- spring.datasource.password=Obtained with JAWSDB_URL
- amazon.accessKey=Obtained when creating Amazon S3 user
- amazon.secretKey=Obtained when creating Amazon S3 user
- amazon.bucketRegion=Look for the link of your region. Paris is eu-west-3
- amazon.bucketName=Name of the bucket create on Amazon S3
Use following commands
.\mvnw clean package
heroku jar:deploy
Using the url, username and password you can connect to the database using for example Phpmyadmin and load data.
Programming on Atom IDE and having the command prompt open execute
ng build --prod
This will create a new dist folder wich contains javascript code. Open dist and create a public folder, putting all on this folder. Next step will be creating a Firebase account and creating a new project. We come back to Atom and introduce the next commands on prompt (been on dist folder)
npm install -g firebase-tools
firebase login
firebase init
firebase use --add
firebase deploy
