moest-np / center-randomize

Script is to assign exam centers to students
MIT License
766 stars 364 forks source link

Add a webpage server to read tsv data and provide search/pagination #57

Closed CoderParth closed 1 month ago

CoderParth commented 1 month ago

Add a webpage server to read tsv data and provide search/pagination functionalities.

This is an initial implementation of data filtering and pagination and still has a huge room to be filled in terms of UI/UX but if the PR gets approved, I would be happy to work on that.

Also, in case of approval, I will immediately work on adding a feature that would make it easier for users to find the pathway from one center to the next (this will be a leaflet based map for visual representation) . This will be done in TDD manner, with lots of unit tests.

I have added a readme file inside the "server" directory, which contains info to get started. Below is a screenshot of what has been built so far.

screenshot

LuluW8071 commented 1 month ago

Adding Map Functionality would be great

sapradhan commented 1 month ago

I believe this is trying to add a web interface and using HTML CSS JS and might be accessible to lot more developers, avoids vendor lockin and probably more flexible as well. However one also needs to consider the deployment strategy for this, is ministry willing or has required resources for maintaining such a deployment?

I would like to point out that #44 has been merged introducing streamlit to codebase which serves similar purpose. It has a free tier cloud based deployment.

Appreciate the effort put in by everybody and not to discourage anybody from participating but lets make sure the efforts are not divergent.

LuluW8071 commented 1 month ago

I believe this is trying to add a web interface and using HTML CSS JS and might be accessible to lot more developers, avoids vendor lockin and probably more flexible as well. However one also needs to consider the deployment strategy for this, is ministry willing or has required resources for maintaining such a deployment?

I would like to point out that #44 has been merged introducing streamlit to codebase which serves similar purpose. It has a free tier cloud based deployment.

Appreciate the effort put in by everybody and not to discourage anybody from participating but lets make sure the efforts are not divergent.

I also believe that while Streamlit currently offers a sufficient basic webview, we might need to explore other frameworks in the future that provide more features and flexibility.