So there are 4 Users (2 students and 2 teachers) have already been created for you in the db fixture. So we have to demonstrate an app that do Assignment management.
- A student can create and edit a draft assignment
- A student can list all his created assignments
- A student can submit a draft assignment to a teacher
- A teacher can list all assignments submitted to him
- A teacher can grade an assignment submitted to him
- Add missing APIs mentioned here and get the automated tests to pass
- Add a test for grading API
- All tests should pass
- Get the test coverage to 94% or above
- Implemented all the missing APIs.
- Increase pyTest test coverage to maximum as I can and I got 94% test coverage in the pyTest.
- Added 4 new tests for grading API
- All tests are passed
- Grade an Assignment
- List all Assignments that is submitted to the particular teacher.
- Dockerfile
- docker-compose.yml
- Only Docker is required in the system. We Containerize the application to make it cloud native.
- Now run these commands given below
> git clone https://github.com/yogesh2k21/fyle-back.git
> cd /fyle-back
> docker-compose up --build
Done!!
Now Application is ready to use
Just open browser and type
http://localhost:5000/