- Front-end: React JS
- Back-end: Express JS
- Database: Mongodb
- ODM Library: Mongoose
- Authentication: JWT
Application is currently deployed at https://employee-reviews.herokuapp.com/ (Free tiny instance, could be unstable)
For mongodb I've used a free instance from https://cloud.mongodb.com/
Ensure correct network access so that it is reachable (Note: 0.0.0.0/0 makes it accessable from everywhere)
Edit default.json
{
"mongoURI": "<your mongodb URI path>",
"jwtSecret": "<your JWT secret>"
}
Run npm install
in both root folder and also client
Run npm run dev
to start both server and client concurrently
Menu | Register | Home | Login |
---|---|---|---|
- Any user can create an employee profile
- For sake of convenience one can register as an admin during registration
Dashboard | Employees | Review | Feedback |
---|---|---|---|
Edit Review | Edit Employee | View Employee | Menu after login |
---|---|---|---|
- Add a review and assgin to an individual user
- Can view, edit or delete a review
- Can leave a feedback and can delete any user's feedback
Dashboard | Employees | Review | Feedback |
---|---|---|---|
- Cannot add review but only can view them
- Can add feedback and can only delete own feedback
- Can edit own employee profile and also delete
- TODO: Allow only reviews to assigned feedback