Skip to content

TalentedTigers/talentedtigers

Repository files navigation

Help Reactor

A help desk application used by Hack Reactor students.

Team

Table of Contents

  1. Usage
  2. Requirements
  3. Development
    1. Installing Dependencies
    2. Setup Database
    3. Setup Redis
    4. Start Node Server
    5. Start Webpack
  4. Roadmap
  5. Contributing

Requirements

  • Node 6.11.x
  • Postgresql 9.1.x
  • Redis 3.2.x

Development

Installing Dependencies

npm install

Setup Database

Create and Start Database

The npm db-create and create helpReactor commands only need to be run once.

npm run db-create
npm run db-start
createdb helpReator

Migrate and Seed Database

The below script will drop, create, and seed the database tables with sample data found in database/sampleData.js.

npm run db-migrate

Access Database

To access your database from within terminal use the below command.

psql helpReactor

Once you are connected to the database you can you the below query to update a users role.

UPDATE users SET role='admin' WHERE id=1;

Create Database

npm run db-create

Setup Redis

Redis is an open source, in-memory data structure store, used as a database, cache and message broker.

Install Redis

brew install redis

Start Redis

redis-server

Start Node Server

npm run server-dev

Start Webpack

npm run react-dev

Roadmap

View the project roadmap here

Contributing

See CONTRIBUTING.md for contribution guidelines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •