https://neu-csye6225-spring2017-team-4.me
https://neu-csye6225-spring2017-team-4.signin.aws.amazon.com/console
- Neha Ghate ghate.n@husky.neu.edu
- Liren Huang huang.l@husky.neu.edu
- Yalin Li li.yali@husky.neu.edu
- Wei Li li.wei6@husky.neu.edu
- Spring Framework
- Java
- JavaScript
- Hibernate
- MySQL
- Dynamo DB
- Image upload
- Bootstrap
- jQuery AJAX
This is a Spring boot project built with Spring Tool Suite (STS). You can download/clone the repo and import it as an existing project into workspace in STS. It is a Maven project so it has all required dependencies in the pom.xml.
You need the following installed and available in your $PATH:
This is a simple tutorial I followed to install them.
launchEC2Instance.sh launches a EC2 instance and configures it with userdata.sh, then use Route53 to configure it with our domain name neu-csye6225-spring2017-team-4.me.
setupS3.sh creates a bucket "s3.neu-csye6225-spring2017-team-4.me" on AWS S3 and if the bucket exists it gives a message "Bucket already exists". We enable versioning to the bucket and grant read permission for all users
setupWebSecurityGroup.sh creates a "web" security group and opens port 80 and 443 for incoming traffic from anywhere.
setupWebSecurityGroup.sh creates a "db" security group and opens port 3306 for incoming traffic from 'web' security group.
launchMysqlRdsInstance.sh launches a mysql instance with no public accessability.
createDynamoTable.sh creates a dynamodb table and if table exists it gives a message "already exists" . We have table name as csye6225 with attributes personId in Number and username as String.
createContinuousDeliveryIAMPolicies.sh creates three policies 'CodeDeploy-EC2-S3', 'Travis-Upload-To-S3' and 'Travis-Code-Deploy'.
createContinuousDeliveryTravisUser.sh creates a 'travis' user with 'Travis-Upload-To-S3' and 'Travis-Code-Deploy' policies attached.
createContinuousDeliveryIAMRoles.sh creates a 'CodeDeployEC2ServiceRole' with 'CodeDeploy-EC2-S3' policy attached, and a 'CodeDeployServiceRole' with 'AWSCodeDeployRole' policy attched.
setup_codedeploy_s3.sh creates a S3 bucket to deploy the application archive.
createContinuousDeliveryCodeDeployApp.sh creates a CodeDeploy application 'jobportal' and add the ec2 instance to it.
Configuration files for continuous deployment.
It's used by CodeDeploy to restart the application on the EC2 instance. It's not meant to be used by users.
This connects to the dynamodb and gets the json data from the table. We have to provide username in the GET request URL. Set environment variables:
- export AWS_ACCESS_KEY_ID="you accesskey"
- export AWS_SECRET_ACCESS_KEY="your secret key"
- Run the get_python.py file on server and access the {localhost:8080}/?name={username}
- Add anti XSS filter;
- Update AJAX to jQuery AJAX;
- Upload user image to S3 and display the image on candidate profile page
- Add email pattern control
- Add empty entry alert
- Added loggers using slf4j which creates external file for logger
- Added python rest api , GET request gets data from AWS dynamo db