Built with Node | NestJS 8.
Install the following
NodeJS Version : v19.x.x
YARN Version : 1.x.x
Access to the repository should be requested in order to clone "new-era-be"
Copy ".env.example" and rename it ".env"
DATABASE_URL=postgresql://{USER}:{PASS}@{HOST}:{PORT}/{DB_NAME}?schema=public
JWT_SECRET="{sample-jwt-secret}"
ENCRYPT_PASSWORD="{sample-encryption}"
AWS_REGION=ap-southeast-1
AWS_BUCKET={sample-bucket-name}
AWS_ACCESS_KEY={sample-access-key}
AWS_SECRET_KEY={sample-secret-key}
AWS_URL=https://vip-qat.ap-south-1.linodeobjects.com/
BASE_API_URL=https://crm.omnirio.com/api/client/v1
API_TOKEN={redacted}
BASE_RSS_FEED_URL=https://neweracap.ph/_rss/product_feed.aspx
BASE_BE_URL={hostname} #EXAMPLE http://localhost:8080
PORT=4001
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USER={user}
MAIL_PASSWORD={password}
MAIL_FROM="mailer@sample.com"
MAIL_TO="newphVIP@authenticcaps.com.ph"
Make sure that you are in the root folder of the project "new-era-be".
Execute the following command on terminal:
$ yarn
$ yarn run dev
In the browser, navigate to the endpoint from the "yarn run dev" result.
example: http://localhost:4001
You can now change the source code in any editor, such as "Visual Studio Code," while viewing a live preview in your browser.