CM3035 Advanced Web Development

Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

BSc Computer Science

CM3035 - Advanced Web Development

Final Coursework: Build an eLearning app

Introduction

During the course so far, we have developed several applications using Django. This has covered single page applications, database schemas, appropriate model design, forms and templates, RESTful webservices, Celery, Django Channels, Web Sockets, Authentication and many other topics.

For this assignment you are tasked with developing an eLearning application using all knowledge you have gained on the course so far.

This assignment is worth 50% of the total mark for this module.

Task

To implement the eLearning web application. The minimum application requirements are:

Your application should allow users to create new password secured accounts.

You should have two different types of users i.e. students and teachers. Note: each type should have different permissions e.g. a teacher can have access to several student

records, but this is not a possible for a student account.

You should collect and store an appropriate amount of information about each user (e.g. username, real name, photo etc.).

Each user should have a "home" page that shows their user information and any other interesting data such as registered courses, upcoming deadlines, etc. It should also

display user status updates. These home pages should be discoverable and visible to other users.

Students should be able to post status updates to their "home" page.

Students should also be able to leave feedback for a particular course.

Teachers should be able to search for students and other teachers.

Teachers should create the courses and upload course material -- images, pdfs, etc.

Teachers should view their courses and see a list of students enrolled on their course.

Students should see a list of available courses and select the courses they want to enrol to.

Additionally, users should be able to use a portion of the application that makes use of real time communication by using web sockets. Some examples may be real-time text chat, shared whiteboard between students and teachers etc. Other functionality could also utilise audio streaming and file transfers. You are free to use web sockets as you wish but you must include 1 web sockets app in your application.

An appropriate REST interface for User data should be provided.

The application should include functionality that makes appropriate use of Web Sockets.

You are free to design the application layout as you wish. Each functional module (student list, courses, search results, etc...) may be a separate page or you may choose to make the application a Single Page Application.

Deliverables

D1. A django application that implements an eLearning web application and fulfils the functional requirements. The Application should include some users (i.e. students and teachers) for demonstration purposes.

D2. A report (4000-6000 words) describing the application and the reasoning for its design and functionality. The report should explain how your application meets the requirements (see below for criteria R1-R5). Explain the logic of your approach, why is your code arranged as it is? Explain the design of your application, covering all design and implementation decisions you have made. The end of the report should critically evaluate your application. Discuss your design and implementation, did it work well? what parts of the application could be better? What would you change if you attempted the project again? This report should also include a brief section on how to run the unit tests. Finally include a section on how to unzip, install requirements and run your application:

. A list of all packages and the versions used for your implementation.

. Your development environment i.e. the operating system and python version

. Instruction for logging into the django-admin site i.e. username and password

. Login credentials for teacher and students

. Include how to run the unit tests

D3: Include a video of your web application showing and verbally highlighting the main functionalities and your achievements. You can upload the video in .mp4 format or use the alternative link -- see submission page. Your video should show how you:

. install the app using the requirements.txt

. talk about the database design and normalisation

. test the app by running the tests

. launch the app and logging in -- showing e.g. feedback status updates for a course

. launch redis server and in a second browser to login the second user to initiate a chat between students or a student and teacher.

This should not be longer than 10 minutes. We recommend that you capture the video in mp4 format using software such as OBS.

D4. Bonus points will be given to those who deploy their app using AWS, Digital ocean, etc. You should supply details in your report i.e. app address and login details.

Requirements

We will assess your work based on the following requirements and criteria:

R1: The application should implement the following:

a) Users to create accounts

b) Users to log in and log out

c) Teachers to search for students and other teachers

d) Teachers to add new courses

e) Students to enrol themselves on a course

f) Students to leave feedback for a course

g) Users to chat in real time

h) Teachers to remove / block students

i) Users to add status updates to their home page

j) Teachers to add files (such as teaching materials to their account and these are accessible via their course home page

k) When a student enrols on a course, the teacher should be notified

l) When new material is added to a course the student should be notified

R2: The application should also use:

a) correct use of models and migrations

b) correct use of form, validators and serialisation

c) correct use of django-rest-framework

d) correct use of URL routing

e) appropriate use of unit testing

R3: The application should implement an appropriate database model to model accounts, the stored data and the relationships between accounts

R4: The application should implement appropriate code for a REST interface that allows users to access their data

R5: The application should implement appropriate tests for the server-side code

Code style and technique

Your code should be written according to the following style and technique guidelines:

C1: Code is clearly organised into appropriate files (i.e. view code is placed in an

appropriate view.py or api.py file, models are placed in an appropriate models.py file)

C2: Appropriate comments are included to ensure the code is clear and readable

C3: Code is laid out clearly with consistent indenting, ideally following python pep8 standard

C4: Code is organised into appropriate functions with clear, limited purpose

C5: Functions, classes and variables have meaningful names, with a consistent naming style

C6: Appropriate tests to cover the API functionality are provided.

Submission

You should write a brief report, record a video demo and submit your source code. The submission should contain the following items and information:

S1: Deliverables D1 compressed in standard .ZIP format.

S2: Deliverables D2 and D4 in .PDF format.

S3: Deliverable D3 in .mp4 format.

S4: Deliverable D3 - alternative link -- use of YouTube or similar and submit the link. Make sure your video remains unlisted.

Marking Criteria

The application will be graded on whether it is technically correct and implements the API as requested. Code should be clear and easy to follow. The application should be well organised - for instance - it should make correct use of models, API, view and serialiser files. A good application will include a suite of tests that ensure that application correctly implements WX:codehelp

相关推荐
千维百策6663 分钟前
SRE 中如何消除琐务:提升工程效率与服务可靠性的实践方法
数据库
卓怡学长10 分钟前
w266基于spring boot + vue 圣地延安美食乐享系统
java·数据库·vue.js·spring boot·spring·intellij-idea
名不经传的养虾人41 分钟前
从0到1:企业级AI项目迭代日记 Vol.65|最危险的故障不是崩溃,是悄悄换掉了正确答案
数据库·人工智能·ai编程·ai-agent·企业ai
程序员佳佳1 小时前
模型网关灰度不是调百分比:把放量、观测和回滚做成账本
java·数据库·人工智能·redis·gpt·aigc·embedding
绩隐金1 小时前
用AI开了本小说 九折归潮
数据库
heimeiyingwang1 小时前
【架构实战】MySQL索引优化:从慢查询到毫秒响应
数据库·mysql·架构
得闲喝茶1 小时前
跨表数据匹配——VLOOKUP、XLOOKUP
大数据·数据库·笔记·信息可视化·数据分析·excel
snow@li1 小时前
数据库:如何设计最佳索引 / 数据库最佳索引设计指南
数据库
渣渣灰飞1 小时前
MySQL 系统学习 第二阶段 第四章:DCL(Data Control Language)第二节:权限管理与角色(Role)
数据库·学习·mysql
肖永威2 小时前
金仓数据库麒麟环境SQL终端使用入门实践(增删改查篇)
数据库·sql·金仓数据库