An open API service indexing awesome lists of open source software.

https://github.com/sujith-rek/fabdao

Technical task for round2 of daofab
https://github.com/sujith-rek/fabdao

angular rest-api spring

Last synced: 2 months ago
JSON representation

Technical task for round2 of daofab

Awesome Lists containing this project

README

          

# DAOFAB
Technical Assignment

Tasks
- [X] Backend done in Java
- [X] Frontend in Angular
- [X] Edge cases for the backend are taken care of, like querying child data of a nonexistent parent, a parent with no child data, etc..,
- [X] Code is properly commented for understanding
- [X] Parent table is capable of sorting by parent Id
- [X] Server-side pagination

## Frontend
Made with angular
To start frontend
Install dependencies
```bash
npm i
```
Run frontend
```bash
ng serve
```

## Backend
Java Spring

## How to test
- Start the backend
- Start the frontend and go to `localhost:4200`
## Screenshots
### Parent table with pagination and sorting
![image](https://github.com/sujith-rek/fabdao/assets/89125023/d788fb67-ab9d-4cd3-8398-2a29792c5964)
![image](https://github.com/sujith-rek/fabdao/assets/89125023/ccd91d71-89e3-45b5-a379-86ae1bf402cb)
![image](https://github.com/sujith-rek/fabdao/assets/89125023/73ac3334-41ee-46ae-b29b-8caa2a744bee)
![image](https://github.com/sujith-rek/fabdao/assets/89125023/0cc821c3-c062-44a3-b832-01120be4b94a)

### Child table
![image](https://github.com/sujith-rek/fabdao/assets/89125023/51879733-b160-41c5-a9c9-85a8945b2756)
![image](https://github.com/sujith-rek/fabdao/assets/89125023/52dcf954-64ea-4680-be8b-4008c1f9ab58)
![image](https://github.com/sujith-rek/fabdao/assets/89125023/f710bcb8-3fc3-465f-9e03-cc6146eb260d)