an example app using the dogstack framework. 🐶 🐶 🐶
see it live at dogstack.netlify.com
deploy a new copy of the assets (html, js, css) to netlify:
and deploy a new copy of the api to heroku:
Before we start, please
If you want to use this as a starting ground for your new app, simply fork this repository!
If you want to develop this example further,
git clone git://github.com/root-systems/dogstack-example
cd dogstack-example
npm install
npm run db migrate:latest
npm run db seed:run
npm run devdogstack! 🐶 🐶 🐶
We're following the dogstack folder structure convention.
- root
- package.json
- server.js
- browser.js
- epic.js (combines all epics)
- updater.js (combines all updaters)
- style.js
- routes.js
topic(e.g.dogs)- dux
- services
- containers
- components
- getters
- styles
- util
Starts production server
npm startStarts development server
npm run devRuns ava tests
Can optionally take a glob
npm test -- './todos/**/*.test.js'Default glob is ./**/*.test.js ignoring node_modules
Checks for standard style
Can optionally take a glob
npm run lint -- './todos/**/*.js'default glob is ./**/*.js ignoring node_modules
Runs knex command, with any arguments.
npm run db migrate:latestnpm run db seed:runAnything that a developer working on this app should know about.
heroku run npm run db migrate:latest --app=dogstack-exampleISC
Emoji artwork is provided by EmojiOne and is licensed under CC-BY 4.0
Random dog pictures provided by randomdoggiegenerator.com