Skip to content

ceff-tech/eflow-node-api

 
 

Repository files navigation

eflow-api

Build Status Coverage Status

Getting Started

  1. Install Postgres(create db eflow_production)
  2. Install Redis
  3. Add .env file
  4. yarn start / production
  5. redis-cli flushall
  6. yarn run dev-prepare / prod-prepare
  7. /api/renewClasses

Testing

Simply run yarn test and all your tests in the test/ directory will be run.

CI

It uses Travis-CI and Coveralls.

Sequelize CLI

$ npm install -g sequelize-cli            

$ sequelize model:create --name TodoItem --attributes content:string,complete:boolean #Generate a model

Help

For more information on all the things you can do with Sequelize CLI visit sequelize cli .

Deployment

/usr/local/stow/node-v8.9.4-linux-x64/lib/node_modules/pm2/bin/pm2 start eflow-api --env production

\c eflow_production
UPDATE "Members" SET image='' WHERE id=;

License

Copyright (c) 2018

Licensed under the MIT license.

About

UC Davis Water Management Lab eflow API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%