Spitgranger / SyncMaster

Capstone project
MIT License
2 stars 0 forks source link

Adds Contractor Portal Page #263

Closed MitchHynes closed 1 week ago

MitchHynes commented 1 week ago

Adds a views subfolder to store pages. I was having trouble getting node to resolve the path to a views/portal.ejs page, so I put the html directly in the index.ts file.

MitchHynes commented 1 week ago

image

RafeedIqbal commented 1 week ago

I think the page should be created in the nextJS environment, not the expressJS one, and the file structure should be "capstone\src\poc\client\poc-client\src\app\portal\page.tsx".

I am following this guide: https://nextjs.org/docs/app/getting-started/project-structure

Edit: file structure template has been merged into main.

MitchHynes commented 1 week ago

Thanks, updated PR. Functionality looks like below video.

https://github.com/user-attachments/assets/4fdbed85-fcff-481e-9e39-37d7e63b528a