Open abhijeetsingh-22 opened 1 week ago
@abhijeetsingh-22 is attempting to deploy a commit to the solarpunk Team on Vercel.
A member of the Team first needs to authorize it.
Just saw that there is another pr that’s already merged. But the issue was left open.
Although I guess this PR won’t be merged, but I am keeping it open as my application to this task.
Also only 2 PR’s have been created before this one.
Added functionality to the onboarding flow of the solarpunk. closes #2
Checklist of the changes done (as requested in the issue)
✔ Geo Search for Map ✔ Using Google Map provider ✔ Auto enable vertex tool on load ✔ Show marked acres on the right side bar ✔ Email and name submission form ✔ Send email to user on successful submission ✔ Send notification email to solarpunk ✔ After Submission show thankyou screen ✔ Login using magic link ✔ Show 4 step stepper to logged in user. ✔ Step 1 (Details) Ask more details. ✔ Step 2 (Review) Show " We are currently reviewing your application" ✔ Track every user data in DB
Video demo of complete flow
https://github.com/solarpunk2077/solarpunk/assets/55000107/1553a090-fb7a-4511-ae5b-7563679de550
Setup
.env
file from.env.example
and update all the variables.Confirm Signup
template replace{{ .ConfirmationURL }}
with{{ .SiteURL }}/api/auth/confirm?token_hash={{ .TokenHash }}&type=signup
Magic Link
template replace{{ .ConfirmationURL }}
with{{ .SiteURL }}/api/auth/confirm?token_hash={{ .TokenHash }}&type=magiclink
npx prisma migrate deploy
can be run locally be better to use CI/CDGOOGLE_MAP_API_KEY
make sure thatGeocoding API
andMaps JavaScript API
are enabledNotes