Problem
StepFi-Web is only running locally. It needs to be
deployed to a public URL so sponsors and vendors
can access it.
What To Build
-
Add vercel.json to the repo root:
{
'framework': 'vite',
'buildCommand': 'npm run build',
'outputDirectory': 'dist',
'rewrites': [{ 'source': '/(.*)', 'destination': '/index.html' }]
}
-
Add build step to CI workflow
-
Update README with live URL once deployed
-
Add VITE_API_BASE_URL environment variable
in Vercel project settings pointing to:
https://stepfi-api.onrender.com/api/v1
Files To Touch
- vercel.json (new)
- .github/workflows/ci.yml
- README.md
Acceptance Criteria
Mandatory Checks Before PR
Problem
StepFi-Web is only running locally. It needs to be
deployed to a public URL so sponsors and vendors
can access it.
What To Build
Add vercel.json to the repo root:
{
'framework': 'vite',
'buildCommand': 'npm run build',
'outputDirectory': 'dist',
'rewrites': [{ 'source': '/(.*)', 'destination': '/index.html' }]
}
Add build step to CI workflow
Update README with live URL once deployed
Add VITE_API_BASE_URL environment variable
in Vercel project settings pointing to:
https://stepfi-api.onrender.com/api/v1
Files To Touch
Acceptance Criteria
Mandatory Checks Before PR