Skip to content

jsczzzx/PA03----Course-finder-web-application

Repository files navigation

CS103a PA3

This is PA03 project of our team

Team Member

Zheng Zheng
Qishi Xing
Zixin Zhang
Nan Wang
Danqiu Fu

Task Assignment

Zheng Zheng:
Modify the model to add strTimes field which will contain the list of strings strTimes: [String],
Modify the '/upsertDB' route so that it sets the course.strTimes field, just as it did for course.num and course.suffix which are the components of course.coursenum
Qishi Xing:
Modify the course.ejs and courselist.ejs, so they use the course.strTimes field
Zixin Zhang:
Modify the '/courses' and '/course' routes so they don't pass times2str into res.locals
Nan Wang:
Add a new form on the index.ejs which asks the user for a keyword and searches for all courses that have that keyword in their course.name. Then create the app.post route which will take that keyword and find those courses and send them to courselist.ejs
Danqiu Fu:
Modify the schedule.ejs so that it uses flexboxes as we did in the api-final branch rather than an ol list, and put in more information into the flexboxes (similar to the course.ejs pages)

Movie Link

Qishi Xing: https://brandeis.zoom.us/rec/share/yrqLo_a75BCogsygcHLlbZuz9WBx1R0gWneLqtT88NueaC-iDLeb8Y3T24S5v45A.8uEl8E5Omo5Lhxkr?startTime=1650766678000

Installation

Download the project from github and download nodejs and npm from https://nodejs.org and cd into the folder

Install the packages with

npm install

Start the project with

node app.js

or install nodemon (the node monitoring app) with

npm install -g nodemon

and start the project with

nodemon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •