Lab 9 Basic CRUD operations using Node.js Solution

$30.00 $24.00

Instructions:- In this lab you will be create a full-blown web-app that integrates the frontend with a database using Node.js. The webapp we would be creating will look exactly like: https://csci3308-lab9.herokuapp.com/ . It would be a good idea for all of you to use this as a reference while solving this lab! Please read and…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Instructions:-

  • In this lab you will be create a full-blown web-app that integrates the frontend with a database using Node.js.

  • The webapp we would be creating will look exactly like: https://csci3308-lab9.herokuapp.com/ . It would be a good idea for all of you to use this as a reference while solving this lab!

  • Please read and follow all the instructions carefully while you solve this lab. Most answers are in instructions. So keep an eye out for them.

  • Since we will be working with a lot of ile, it is recommended that you use non-terminal editors. For example – Sublime text, Atom, etc for this lab.

Prerequisites :-

1. PostgreSQL v.10.5

    • Make sure you have PostgreSQL installed on your machine. If not, run the following commands(ignore the ‘$’ symbol) in your terminal to install PostgreSQL.

  • Ubuntu OS – VM :-

  • sudo apt-get update

    • sudo apt-get install -y postgresql postgresql-contrib

    • sudo service postgresql start

  • Mac OS:-

Download and install PostgreSQL v.10.5 using the link: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads.

2. Node.js and NPM (using NVM)

NPM: Node package manager is a tool that helps you to download and install Node.js libraries or packages from the internet!

NVM: Node version manager is an “active” Node.js version manager. You can have multiple versions of Node.js on the same machine and switch between them using nvm.

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit

1/9

1

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 2/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 3/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 4/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 5/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 6/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 7/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 8/9

12/20/2018 Lab 9 – Google Docs

https://docs.google.com/document/d/1tKDev5STg6trElAtIncIQtJCECHqkTDA-Jh5e7M2tcY/edit 9/9

Lab 9 Basic CRUD operations using Node.js Solution
$30.00 $24.00