- Clone the repo
git clone https://github.com/AliKhalaf1/NanoDegree-Project2.git
- Install NPM packages
npm install
- Running server`
npm run dev;
- Building
npm run build;
- testing`
npm run test;
- env file`
Create an env file and add the following in it
PORT = 3000; NODE_ENV = dev; POSTGRESHOST=localhost POSTGRESPORT=5432 POSTGRESDB=store POSTGRESDB_TEST=Store_test POSTGRESUSER=postgres POSTGRESPASSWORD=0000 BCRYPT_PASSWROD = secret SLART = 10 SECRET = secret2