Seems like you're trying out for a position at Safekeep or you've found this and would like to apply. Fork this repo and give it a go. ;)
Your goal is to create a simple CRD application.
The GIF below will show you what needs to be done. The input fields will be a person's name, surname and hours of participation - calculate the participation percentage afterwards. Create a table and pie chart for us to visualize the data. You can use any library for the visualizations/charting, we suggest react-charts or react-apex-charts. Styling is up to you - the prettier it is the more brownie points you get from us :'). Your project doesn't need to look identical to the GIF below. However, the design should be responsive for mobile and web applications (see the GIF). Also, please write 1 unit test of your choice using Jest.
❗ Please use ExpressJS, Yarn, JestJS, and ReactJS and the included docker-compose will spin up a local instance of PostgreSQL (if you have it already installed on your local please stop it). Use Express to create an API server connecting to the docker-compose postgres.
Create two directories called backend/ and frontend/.
Run the provide docker-compose to spin up a PostgreSQL container.
docker-compose up
Make the run commands for the ExpressJS server
node app.js
Make the run commands for the React App
yarn start