New project structure
New folder structure Changed to type:module Moved routes to separate files
This commit is contained in:
5
config/index.js
Normal file
5
config/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
|
||||
export const port = process.env.PORT;
|
||||
export const dbPass = process.env.DB_PASS;
|
||||
Reference in New Issue
Block a user