Skip to content

jeremykhon/employee_review

Repository files navigation

Full Stack Challenge

Design a web application that allows employees to submit feedback toward each other's performance review

Please login with "[email protected]", pw: "password"

Tech Stack

Tech/lib Purpose
Ruby on Rails Backend server
React Frontend client
Database PostgreSQL
Unit tests Rspec, Jest/Enzyme (WIP)

Assumptions

  • Admin is also an employee
  • Employees can have multiple performance reviews
  • A performance review can have multiple feedbacks done by the same reviewer

Installation

Clone repo

$ git clone [email protected]:jehon11/employee_review.git employee_review
$ cd employee_review

Install dependencies

$ bundle

Create database and seed it

$ rails db:create
$ rails db:migrate
$ rails db:seed

Install frontend dependencies

$ yarn --cwd client

Start backend and frontend server

$ rake start

the backend and frontend server should now be running on localhost:3001 and localhost:3000 respectively

Run tests

$ rspec

Live Demo

Login here (https://employee-reviews.jeremyhon.com) with the admin account below

Please allow for a few seconds for the server on Heroku to awake from sleep

Username Password
[email protected] password

Active Functionality

  • Login/logout and redirect to correct dashboard (Admin/Employee)
  • Protected views for Admin/Employee
  • Protected routes for Admin/Employee api requests
  • Admin view all employees
  • Admin create new employee
  • Admin remove employee
  • Admin update employee
  • Admin view performance reviews for employee
  • Admin create new performance review for employee
  • Admin view all feedbacks for each performance review
  • Admin create new feedback for a performance review (add reviewer)
  • Admin create multiple feedbacks at once (add reviewers)
  • Employee view list of feedbacks assigned to them
  • Employee update feedback

Database Design

About

Employee performance review app (username: [email protected], pw: password)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published