Project Acorn is a Java CRUD, create, read, update and delete, command line app for keeping track of investment opportunities. Opportunities have a
NameDescriptionUserCostDateStage- 'To be discussed', 'In discussion', 'Approved', 'Declined' and 'Expired'
Users have the ability to:
- Create new opportunities that can be saved to the database
- Select an opportunity based on an opportunity id
- Display all opportunities that have been saved to the database
- Update any opportunity attribute
- Delete an opportunity
- Install Java
- Install Homebrew by running
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - Install Postgresql by running
$ brew install postgresql - Install Gradle by running
$ brew install gradle - Install Flyway by running
$ brew install flyway
- Clone the repository
- In your terminal, navigate into the repository
- Run shell script by running
$ . ./set_up.sh - Run the test suite by running
$ ./gradlew test - Start the app by running
$ gradle --console plain run
- Display a filtered list of opportunities based on an opportunity attribute e.g. all opportunities that are in the
In discussionstage. - Add an event type attribute to an opportunity e.g. education, sponsorship or outreach.