- Make sure postgres is running
createdb acebook
brew install maven
mvn install
- Open project in intellij
- Click the run button
- Hit http://localhost:4567/posts
- Make sure postgres is running
createdb acebook-test
- Open project in intellij
- Go to tests and hit run button
- I can create a new endpoint and render a static template view
- I can create a form which posts data to a new endpoint
- I can persist data from an endpoint into the database
- I can update the data model and database schema to include a new field
- Spark docs
- Velocity template docs
- Velocity template blog post
- Velocity template + spark project example
- Flyway migrations (db schema management) docs
- As a user I would like to see the latest posts listed on the acebook
- As a user I would like to create a new post and have it appear with the latest posts
- As a user I would like to be able to like a post and see the number of likes next to the post
- As a user I only want people to be able to like a post once to avoid spam
- As a user I would like to be able to make and receive comments on posts
- As a user I would like to see the date of a post
heyfrens