Production: https://comet-visor.vercel.app/
- Download the .env.local file from FinTech UTD Slack
- Place it in the root of the directory (i.e. same level as this README)
- Install nvm (Node Version Manager) and then run
nvm install --lts - Run
nvm use --lts - Run
npm install - Run
npm run build - Run
npm run devto start - After pushing a change, you can run
https://pull.git.ci/process/sunnyguan/CometVisorand wait a few minutes for it to deploy to Vercel
Pages that are standalone should be placed in pages/. Currently we only have the login page (index.js) and main dashboard (dashboard.js) with various tabs. Tab contents are stored in components/. API routes should be placed in pages/api/, there are some example code in there that are not relevant to Comet Visor.
We're currently using TailwindCSS for styling and Prettier for code formatting.
Features:
- Work on dashboard components (home, informatives, etc)
- Work on API routes
Chores:
- Create FinTechUTD Vercel account for deployment
- Use FinTechUTD Gmail account for Firebase auth
- Setup Firebase Cloud Firestore connection
- Setup colors/colorscheme in tailwind config
- Prettier config
- Create a new branch
git checkout -b feature/home-page-portfolio - Work on feature on localhost, use
nextfor starting debug server since it reloads on save - Commit often
git commit -m "home page portfolio template complete" - Push to remote:
git push --set-upstream origin feature/home-page-portfolio - Check preview deployment on Vercel (TODO)
- Create pull request on GitHub
- Complete code review process
- Merge and check production deployment on Vercel at the production URL above