schafezp / MyNodeServer

CS333 Final Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyNodeServer

CS333 Final Project

Installing

Create a database in Postgres called "mynodeserver" and then run the following command (in Postgres) as a database superuser

CREATE EXTENSION pgcrypto;

To run the project run the following commands in both MyNodeServerBackend and MyNodeServerFrontend

npm install

First make sure that you have bower and nodemon installed,

npm install -g bower nodemon

Then install all the bower dependencies from bower.json in MyNodeServerFrontend

bower install

Then create a connection string in MyNodeServerBackend/dbinfo.js that is of the following format

module.exports = {
    'database' :'postgres://DBUSERNAME:DBPASSWORD@localhost:5432/MyNodeServer' 
}

Running

Then run

npm start

in each and connect to the frontend at localhost:9000

About

CS333 Final Project


Languages

Language:JavaScript 56.5%Language:HTML 25.6%Language:PLpgSQL 12.3%Language:CSS 5.6%