Please find the general information about the project and its features on the phase 1 handout.
TAs will clone and run your codes on their own machines. Therefore, you must make sure that your code can run well on other computers. A virtual machine has already been offered to you. It is the environment in which your code will be run in phases 2 and 3. So, to avoid unexpected issues, you are advised to use that environment to run your code. However, you are allowed to work on other operating systems and environments as well, but at your own risk. It is crucially important for you to at least double-check your whole project in that virtual machine before submitting it. You will not be allowed to modify your code at the interview sessions. Therefore, if, for any reason, your code does not run, you will not get any marks.
Add notes about user model: https://docs.djangoproject.com/en/4.0/topics/auth/customizing/#substituting-a-custom-user-modelIn this phase, you are to implement the Django backend for the project. All your APIs must be Restful, and you must not have any template or HTML response. You should push your entire Django project to your repo, accompanied by a startup.sh script, a run.sh script, and a docs.pdf file. These files should be located in the root folder of your repository.
The startup should run any preparation needed for your code to run in a new environment. It should create the virtual environment, install all required packages with pip, and run all migrations. The run script should start your server. Finally, your documentation must include your design of models, as well as the full list of all API endpoints, a short description, their methods, and the payloads. You can use packages that automatically generate the API docs from your code. The TA will send requests based on the information you provide on that document. Therefore, it is important to have a usable and clear document.
Ideally, you should not touch your backend server at phase 3, but this will not happen in practice. However, you should implement the backend views for all user stories described in phase 1's handout. Moreover, you should implement proper authentication and authorization for the APIs.
Note: Before submitting, make sure that your startup and run scripts work well on the virtual machines given to you. The TAs will run your application on clean instances of that virtual machine. If you have worked with another operating system, it is your absolute responsibility to double-check that your project works fine within the virtual machine as well.
Comments
This is my fourth time taking CSC309, and inarguably, this is the best assignment I've ever seen.
Problems are so accurately designed that anyone with their own knowledge and experience have their own takeaways.
I hope next assignments will be this good, too!
Thanks bro!