Using the app developed by us, you can borrow and return books by scanning the QR code. At the same time, this app realizes a simple registration and login function. This app also implements administrator privileges and normal user privileges. When you are logged in as an administrator, you can add books to the library or delete books.
The server is written based on the flask framework. It implements communication with the front-end app and communication with the back-end database. The database is using the docker image of mysql. We also packaged the mysql database and the flask-based server into a docker container. It can be started directly using the docker-compose command.
The front-end mobile application is based on Apple's ios system and written using the api provided by the native swiftUI. It realizes the functions of login, registration, scanning to borrow books, scanning to return books, scanning to add books and scanning to delete books.
We run the test file with pytest. and write code to test the server interface using the requests library. We also wrote the actions.yml file on github to test the push code and the pull request code.
You can see our document! Here is the link👇🏻
resource | link |
---|---|
Server project | link |
Client project | link |
Tutorials | link |
PBL tasks | link |
This is a requirement of our PBL project, designed to familiarize us with the software development process, as well as to accommodate collaborative development by multiple people. ( ps: Our respective coding styles were not elegant and did not strictly follow the design patterns in writing the code. This project was only designed to allow us to adapt to collaborative multi-person development. )
task | collaborators |
---|---|
Who came up with this idea | @Uriuriboo |
Who specified the technology used for this PBL project development | @Me |
Who wrote the server code | @Yuan、@KazukiSenda |
Who wrote the docker file | @Me |
Who wrote the github workflow script | @Me |
Who wrote the ios application code | @Me、@Uriuriboo |
Who wrote the test code | @Me、@Uriuriboo、@Yuan、@KazukiSenda |