Skip to content

brendanmckeown/srw_hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srw_hub

Stress relief in the workplace hub

Prerequisites

  • Node >= v6.3.0

Development Setup

  1. Install dependencies

     npm install
    
  2. Create your environment configuration

     cp .env.dev .env
    
  3. Run database migrations

     npm run db:migrate
    
  4. Start the server

     npm start
    

Create a Model

  1. Define database URL environment var

     export DATABASE_URL={{ DATABASE_URL}}
    
  2. Create migration file

     node_modules/.bin/sequelize model:create --name ModelName --attributes attributeName:integer, attributeName: string
    
  3. Run migration

     node_modules/.bin/sequelize db:migrate
    

About

Stress relief in the workplace hub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published