Project

General

Profile

Actions

ClientProject #2801

open

ClientProject #2769: [DEVOPS]: Configuring the application for staging environment

[Devops] Env variables check on the build time

Added by Al Arafat Siddique 8 months ago.

Status:
Complete
Priority:
High
Target version:
Start date:
08/04/2025
Due date:
% Done:

100%

Estimated time:
4:00 h
Spent time:

Description

  • .env.example file contains all the necessary variables
  • env.ts file runs on startup and checks if all the variables are there in the .env file
  • modified the next.config.ts file to next.config.js file as recommended in the [[https://env.t3.gg/docs/nextjs]]
  • added another package [[https://www.npmjs.com/package/jiti]] that provides runtime support for TypeScript and ES Modules (ESM) in Node.js
Actions

Also available in: Atom PDF