Name: geckos-17
Owner: Chingu Voyage 3
Description: null
Created: 2017-11-21 22:05:30.0
Updated: 2017-12-19 19:52:48.0
Pushed: 2018-02-09 00:31:31.0
Homepage: null
Size: 331
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Our mission is to make a time/task tracking application which would be useful for every human being in the Galaxy, especially for people who work in a team.
Wireframes are coming soon...
You can specify your own PORT
, URL
, path to Mongo database and other
configuration stuff using .env
file in this folder.
Attention!
YOU NEED THIS FILE for local use in development mode. Example of .env
file:
_ENV="development"
=8081
"http://localhost"
ODB_URI="mongodb://localhost:27017/tomatello"
SECRET="secret"
In production you can specify configurations not in this file but accordingly to your provider.
For Heroku use these commands:
ku apps:create tomatello
ku config:set MONGODB_URI="mongodb://<username>:<password>@<id>.mlab.com:<port>/<dbname>"
ku config:set JWT_SECRET="secret"
push heroku master
Fill all the fields in MONGODB_URI constant accordingly to your database on Mlab.
npm install
to install all dependencies.
npm run seed
to populate database with some dummy data.
npm run dev
to start application locally with Client and Server side in one
prompt.
Use npm run dev:client
and npm run dev:server
commands to start Client and
Server in separate prompts.
npm run build
to build static Client-side files.
npm run build --report
to build for production and view the bundle analyzer
report.
npm run start
to start Server just like in production. But you'll have
to specify NODE_ENV=production
in your .env
file. To use this command,
you have run build
script first.
npm run unit
run unit tests
npm run e2e
run e2e tests
npm test
run all tests