Web application intended for partner to register, login, and view dashboard to see data visualization, add/remove/edit voucher, and see purchasing logs.Tech stack used:
- Nextjs
- Typescript
- Tailwind CSS
- Chartjs
Repo for backend Go Application : https://github.com/15BESAR/ecotrans-backend-cloud-infra
Currently, the webapp is deployed on GCP using Cloud Run https://ecotrans-webapp-h3lwczj22a-et.a.run.app
It's also deployed on Heroku :
https://nextjs-capstone.herokuapp.com
Use username: demo and pass: Demo123 to test the admin dasboard
npm run devCheck on localhost port 3000
npm run build
npm run startTo deploy app to Cloud Run, build docker container
npm run build docker build -t gcr.io/bangkit-352613/ecotrans-web:v1.02Then, push into container registry (need service account with sufficient permission)
docker push gcr.io/bangkit-352613/ecotrans-web:v1.02Then, deploy to cloud run with selected image
gcloud run deploy ecotrans-webapp --image=gcr.io/bangkit-352613/ecotrans-web:v1.02