Open patricksan opened 3 years ago
@shreyathumma I renamed the /client/requests
to /client/request
. It is more standard on API to use singular.
The API GET /client/request
will return the all requests from the DB, basically clients that are still open.
In the other hand, the GET /client/request/summary
it is just an overview with the following information:
Fro the second graphy, let’s return based on a list with the 7 last days. And each day has a number.
The idea here is that the Frontend doesn’t need to compute based on the GET /client/request
. Everything should be ready by GET /client/request/summary
Done: model classes and GET client requests controller and service implementation.
Currently working on: Updating the API logic and model classes according to the new requirement details. Setting up the sql files for request tables.
Blockers: None as of now
Hi @shreyathumma, @patricksan, I'd like to start working on this for the frontend, and I have a few questions.
Hi @ianaa , answering your question:
Thank you
@shreyathumma as noticed by @ianaa, we need to return all status in the api GET /client/request/summary
.
Here they are:
@ianaa For number 4, do you mean API documentation including the endpoint URL, request body field names etc? or more like a sample JSON request?
@shreyathumma a sample JSON request and response would suffice for me to start working on this, but proper documentation will be helpful in the long run, so please also consider adding endpoint documentation somewhere (@patricksan ideas about where best to put it?)
Hey @ianaa and @shreyathumma , I will configured the backend to use Swagger. This is a default API documentation framework used with Spring Boot. Very easy to integrate and a lot of developers are used to it.
I created this ticket: https://github.com/cloud-erp-school-system/backend/issues/18
cc @Aurrix, @captain0612
@patricksan Sounds good, I use Swagger so I'll go ahead and pick up this ticket.
Perfect @shreyathumma ! Please, just create a Pull Request separated from your other ticket. So it is easy to review. Thanks.
@ianaa I support your idea. Do you think UX/UI designs screenshot of analytical Admin Dashboard with reports (e.i.100 reports), excellent statistics and widget, view of data entry, statistics, various charts, table data, analysis details ,showed in attractive , colored beautiful charts such as :Pie, Bar, Line, Horizontal Bar ,Polar Area Stacked Bar, Doughnut charts and etc), would be helpful?
Let's me know we can find a design of that admin dashboard too.
@ianaa I support your idea. Do you think UX/UI designs screenshot of an analytical Admin Dashboard with of some reports (e.i.5000 reports), excellent statistics and widget, view of data entry, statistics, various charts, table data, analysis details ,showed in attractive , colored charts ( We have a file of modules with a recommendation to use these colored beautiful charts:Pie, Bar, Line, Horizontal Bar ,Polar Area Stacked Bar, Doughnut charts and etc), would it be helpful?
@ConnectedLearner I'm not sure I understand your question. Can you rephrase it? In general, I believe that adding charts for the sake of pretty designs is not useful. You should identify what information is needed for the users, and then find the best way to display it, and not the other way around. So my suggestion here is to display the absolute minimum when it comes to graphs, or even avoid them completely in favour of simple numbers and text. They can always be added later for useful data points if requested by the users.
@ianaa Hi, according to your question 2 "Graphs" , I asked if UI/UX design of Admin Dashboard showing many reports with statistics and widget, view of data entry, analysis details showed in these colored beautiful charts:Pie, Bar, Line, Horizontal Bar ,Polar Area Stacked Bar, Doughnut charts and etc) would be helpful, but, your suggestion here and Patrick's answers are clear.
What?
Please, reference to file: /documentation/phases/Phase-01-school-management/01-New Client Request.pdf
This ticket is to create the Model + API from Step 01. This is related to Receive Client Request
How?
GET /client/request/summary
GET /client/request
Expected