This repository contains code written in NodeJS with errors, bug and incorrect code practice. Your tasks are to:
- Create Unit and Integration Tests up to for at least 70% test coverage
- Find and remove all the bugs and error
- Improve the code quality accordingly
- Create a SOLUTIONS.md file listing all the correction you made and why you took the decisions your took. This is to help us ascertain your problem solving skills
- Create a new API for User
- Create a Models for a User
- For each event created, connect that event with a user such that every event has a user
- Create a way to retrieve all events for a user
- Make it possible to return all a user and all the events created by that user
Create a private repo on github, add @michelmustapha and @rajesh-brickbase as collaborators and send an email to michel@brickbase.io indicating that you are done with the test.