This README.md file provides an overview of the assignments functionality implemented for Assignment 2 Li Xu- CS602 O2 2024.
- JavasScript
- Express.js
- Handlebars.js
- Node.js
- Node.js installed on your machine. You can download and install Node.js from here.
-
Clone the repository:
git clone https://github.com/lest-xu/bucs602a2.git
-
Navigate to the project directory:
cd yourrepo/bucs601a2
-
Install the libraries:
npm install
-
Run the JavasSript code:
node part1/server/server.js
node part1/client/client.js
node part2/server.js
Then open the link http://localhost:3000 in your browser for each part of the assignment.
The project directory contains the following files:
bucs602a1/
part1/
client/
node_modules/
── client.js
── package.json
server/
node_modules/
── package.json
── server.js
── zipCodeModule_v2.js
── zips.json
part2/
node_modules/
public/
── bu-logo.gif
views/
── 404.handlebars
── homeView.handlebars
── lookupByCityStateForm.handlebars
── lookupByCityStateView.handlebars
── lookupByZipForm.handlebars
── lookupByZipView.handlebars
── populationForm.handlebars
── populationView.handlebars
── package-lock.json
── package.json
── server.js
── zipCodeModule_v2.js
── zips.json
── README.md