/NanoDegree-Project2

Primary LanguageTypeScriptOtherNOASSERTION

Udacity Image resize API project

Getting Started

Installation

  1. Clone the repo
    git clone https://github.com/AliKhalaf1/NanoDegree-Project2.git
  2. Install NPM packages
    npm install

Usage

  1. Running server`
    npm run dev;
  2. Building
    npm run build;
  3. testing`
    npm run test;
  4. 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