bettersg / SchemesSG_v3

Refactor of SchemeseSG 2024
3 stars 1 forks source link

Create Next.js project & deploy on Firebase #32

Closed longwind48 closed 1 month ago

longwind48 commented 1 month ago

TL;DR:

I've added a vanilla Next.js 14 w/ app router to our repo in stg branch, and set up GitHub Actions to automatically deploy to Firebase Hosting for our staging environment. This is part of my task to deploy both our frontend and backend to the new Firebase space. Right now, any commits made to the stg branch will auto-deploy to the Firebase staging app at https://schemessg-v3-dev.web.app/. Production deployment will be set up soon.

New workflow for frontend devs:

I chose Next.js for its strong support for different rendering strategies, which is great for SEO and speed. However, if anyone has strong opinions about moving to Vite or another framework, we can discuss and accommodate as needed.