A Todo application built on top of Yolk.js, RxJS, Express, and Postgres, which runs in Docker container.
https://lab.miguelmota.com/rx-todo/
To see it in action follow these steps:
-
Install Docker from Downloads page.
-
Git clone this repo.
$ git clone git@github.com:miguelmota/rx-todo.git- Set up Docker and build.
# Start docker daemon
$ eval "$(docker-machine env default)"
# Build
$ docker-compose build- Run Docker container.
$ docker-compose up- Open app url in browser.
$ open http://$(docker-machine ip):8080/- Write todos!
Follow these steps to set up development environment.
-
Install Postgres from the Downloads page.
-
Configure postgres credentials in
app/config/config.json. -
Install node dependencies.
$ npm install
$ npm install babel-cli -g
$ npm install gulp-cli -g
$ npm install browserify -g
$ npm install mocha-phantomjs -g- Run Express server.
$ npm start- Run Gulp watchers to compile client JavaScript and Sass on save.
$ cd app/public/
$ gulp watchAvailable Gulp tasks.
# Compile JavaScript.
$ gulp scripts
# Compile Sass.
$ gulp sass
# Compile JavaScript and Sass.
$ gulp build
# Compile JavaScript and Sass on file save.
$ gulp watch
# Open client only url in browser.
$ gulp browser- Open app url in browser.
$ open http://localhost:8080/$ npm test$ npm run docsMIT.
