IEEE-VIT / enigma8-backend

Backend for Enigma 8.0

Home Page:https://enigma8-api.ieeevit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactoring Node App

ShubhamPalriwala opened this issue · comments

Refactor the app:

Change the node start script in package.json to
PACKAGE.JSON: node index.js

The file structure should also fill:

index.js:
	/app    app.js-> all routes here pass through the .env variable APP_ENIGMA_START_TIME 
	/web    web.js-> all routes ere pass through the .env variable ENIGMA_START_TIME

The controllers and routes should be the same as they were before!