- Navigate to the root of the project.
- Run
npm install
. - Run
gulp
.
In this mode, nodemon runs the server while browsersync runs the browser. Changes to client-side files including stylesheets triggers both a rebuild and a refresh of the browser. Changes to server side files triggers a nodemon refresh.
gulp production
or rungulp
whileNODE_ENV
is set toproduction
.npm start
to launch the server.
Production builds include minified app and vendor JavaScript along with minified CSS. Reference names to these dependencies change automatically in index.html.
- run
gulp test
See the Dino project wiki for more detailed information.
- React SPA
- React Router
- Material UI
- Sass stylesheets
- Axios
- Flux state manager
- Postgres database
- Sequelize
- Express server
- Users can share routines.
- Easy integration with Moment.js because our database is structured to be smart about time.
- Users can provide encouragement or feedback to other users.
- Live feed and status view.
- React Router makes it easy for a SPA to use browser locations, history and the back button.
- The client-side datastore is easy to customize when making data schema changes.
- Support for connection to other services like Facebook, Twitter, Instagram.
- We've created hooks to easily incorporate authentication.
- MyRoutines
- MyRoutinesNav
- CreateRoutine
- CreateRoutineNav
- Routine
- RoutineNav
- CreateTask
- CreateTaskNav
- Task
- TaskNav
Stores:
- UserStore
- RoutineStore
- TaskStore
Actions:
- UserActions
.get([params])
.add([params])
.remove(id)
.update(id, data)
- RoutineActions
.get([params])
.add([params])
.remove(id)
.update(id, data)
- TaskActions
.get([params])
.add([params])
.remove(id)
.update(id, data)