- please create a
.envfile and place with values these variables -PORT,DATABASE_URL,DATABASE_USERNAME,DATABASE_PASSWORD,PRODUCTS_DATABASE - run command
npm ioryarnaccording to the choice to install all the dependency packages - the to run the app use
npm run dev
or
yarn dev"build": "tsc && xcopy public dist\\public /E /I /Y",command explanation:
- /E: Copies all directories and subdirectories, including empty ones.
- /I: Assumes the destination is a directory if it doesn’t exist.
- /Y: Suppresses prompts to overwrite files.