Sign inSign up

javamonn/revveries-db

By javamonn

•Updated almost 11 years ago

Postgres instance backing revveries.com

Image
0

4.0K

javamonn/revveries-db repository overview

⁠odettechavez-mayo.com

Build Status

Code running odettechavez-mayo.com⁠, a photography portfolio and private CMS.

Arguably over-engineered as this was intended as a learning project and chance to deploy several new technologies that I hadn't worked with previously.

⁠Architecture
  • /api - Scalatra⁠ REST API using Slick⁠ to interact with a PostgreSQL instance. Has full test coverage under ./api/src/test. Generates a dockerized .war for deployment.
  • /app - React⁠ SPAs responsible for the UI of the photography portfolio and CMS. Uses Browserify⁠ for bundling, Babel⁠ for ES6, and Reflux⁠ for state managment.
  • /db - Dockerized PostgreSQL instance used for gallery and picture persistence.
  • /www - Dockerized Nginx proxy used for a reverse-proxy and static asset cache.
  • /kube - Kubernetes⁠ configuration files used for deployment. revveries.com⁠ is currently hosted on Google Container Engine⁠.
⁠Build & Run
$ npm install
$ gulp 
$ ./sbt
> container:start
⁠Run the Tests
$ gulp spec
$ ./sbt
> test
⁠Deployment

./api deployment:

  • $ ./api/sbt docker:publish

./app deployment:

  • $ cd ./app && gulp deploy

Tag summary

Content type

Image

Digest

sha256:5af623b14…

Size

95.6 MB

Last updated

almost 11 years ago

docker pull javamonn/revveries-db