合肥生活安徽新闻合肥交通合肥房产生活服务合肥教育合肥招聘合肥旅游文化艺术合肥美食合肥地图合肥社保合肥医院企业服务合肥法律

COMP229代做、代写Java/python设计程序
COMP229代做、代写Java/python设计程序

时间:2024-11-17  来源:合肥网hfw.cc  作者:hfw.cc 我要纠错



COMP229 – Web Application Development
 
Assignment 2
Online Market Application – Node.js, Express REST APIs & MongoDB
Due Week #10 (……………………….) @ midnight
Value 10%
Dress Store – Node.js, Express REST APIs & MongoDB​Maximum Mark: 100
 
Overview: Create the Node.js Express exports REST APIs that interacts with MongoDB Database using Mongoose ODM for an Online Market application (Note: The Front-end of the application is not included in this Assignment).
 
Instructions :
The Online Market Application:
1. Using MongoDB database, create:(25 Marks):
a. A database by name Marketplace – You can use the existing database created in-class already if specified by your instructor.
b. Create the following collections with their respective property. (5 Marks: Functionality).
I. product
name: string
description: string
price: number
quantity: number
category: string
 
II. categories
name: string
 
the categories of products to be included are Men, Women, teens. – OR categories specified by your instructor
 
c. Obtain your connection string ( url or uri)
d. Provide the screen snapshot of your MongoDB database showing the above steps from 1a – c.
 
2. Using Visual studio code as the IDE: (25 Marks)
a. create a node.js App for the Marketplace by setting up the Express web server. Ensure to install all the necessary modules: express, mongoose, cors e.t.c.
b. Run the app and provide a screen snapshot of it running in the browser as follows:
 
 
 
3. After creating the Express web server next: (30 Marks)
a. Add the configuration for the MongoDB database.
b. Create the product model with Mongoose.
c. Write the controller.
d. Define the routes for handling all CRUD operations.
 
 
Below is an overview of the REST APIs that will be exported:
 
 


 
 
4. a) Test the REST APIs using Postman, Thunder client or any tool you are familiar with. e.t.c.
b) Provide the screen snapshot of the test. (5 Marks)
 
5. a) Develop ejs file, and implement the Action: get all products in the webpage(15 Marks)
 
 
 
SUBMITTING YOUR WORK
Your submission should include:
1. A zip archive of your Marketplace Project files
2. A link to GitHub
3. A word doc. Showing the snapshots
This assignment is weighted 10% of your totalmark for this course. Late submissions:10%deducted for each day late.

请加QQ:99515681  邮箱:99515681@qq.com   WX:codinghelp




 

扫一扫在手机打开当前页
  • 上一篇:代写CCIT4020、代做python语言编程
  • 下一篇:返回列表
  • 无相关信息
    合肥生活资讯

    合肥图文信息
    新能源捕鱼一体电鱼竿好用吗
    新能源捕鱼一体电鱼竿好用吗
    海信罗马假日洗衣机亮相AWE  复古美学与现代科技完美结合
    海信罗马假日洗衣机亮相AWE 复古美学与现代
    合肥机场巴士4号线
    合肥机场巴士4号线
    合肥机场巴士3号线
    合肥机场巴士3号线
    合肥机场巴士2号线
    合肥机场巴士2号线
    合肥机场巴士1号线
    合肥机场巴士1号线
    合肥轨道交通线路图
    合肥轨道交通线路图
    合肥地铁5号线 运营时刻表
    合肥地铁5号线 运营时刻表
  • 币安app官网下载

    关于我们 | 打赏支持 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | 帮助中心 | 友情链接 |

    Copyright © 2024 hfw.cc Inc. All Rights Reserved. 合肥网 版权所有
    ICP备06013414号-3 公安备 42010502001045