$ mvn clean package
$ nohup ./bin/dev.sh 0<&- &> /tmp/app.log &
Things We Learnt: Practical Applications of:
- RestFul Services
- MongoDB
- Jquery
- Ajax
- Amazon Web Services
- Working with bootstrap and mustach
Features of our project:
- File upload from system to StoreBox
- File download to local machine
- Delete files
- Share files --> Sharing would add the file in shared users bucket too
- Per user storage capacity by default 15MB(for the purpose of testing), this can be extended.
AWS services used:
- EC2 to deploy
- S3 to store files
- SES to send emails for registration confirmation & when a file is shared.
While running the code please update the following in dropboxService.java(main class) MongoConfig.setAmazonUsername("XXXXXXXXXXXXXX"); --> AWS Access key MongoConfig.setAmazonPassword("XXXXXXXXXXXXXXXXXXXXXXXXx"); --> AWS Secret key MongoConfig.setDatabaseAddress("XXXXXXXXXXXXXX"); --> Mongo lab address of the form dsXXXXXX.mongolab.com MongoConfig.setDatabasePassword("XXXXXXXXXXXXX"); --> Mongo lab password MongoConfig.setDatabasePort(XXXXX); --> Port # obtained from Mongo lab MongoConfig.setDatabaseUsername("XXXXXXXXXXXX"); --> MongoDB username
Service runs on Port # 8050 XX.XX.XX.XX:8050/dropbox