This project is a submission for the Metricell recruitment test. It demonstrates full-stack CRUD functionality using React on the frontend and .NET 6 with SQLite on the backend. It also includes additional SQL logic to fulfill specific requirements.
The frontend is structured into Components and Services:
- Components: This folder contains the core UI components (
.tsxand.tsfiles) for handling the user interface. - Services: The CRUD operations are implemented in the Services folder, where API interactions with the backend occur.
- Routing: I used
App.tsxfor routing, allowing for potential future expansion of functionality and additional pages.
The backend utilizes .NET 6 and SQLite for database management. The following changes were made:
- Database Creation: Adjustments were made to the database creation logic to better fit the requirements.
- Controllers: Instead of using a separate
ListController, I consolidated everything into anEmployeesController, as I found it sufficient to meet the CRUD requirements.
The project includes a SQL Scripts folder, containing additional SQL queries to meet specific task requirements. These queries handle:
- Incrementing employee values based on their names.
- Summing values for names beginning with A, B, or C, with a threshold check.
