Skip to content

Integrate frontend assets and update api docs#5

Merged
Ran-Xing merged 1 commit into
mainfrom
cursor/integrate-frontend-assets-and-update-api-docs-c035
Sep 12, 2025
Merged

Integrate frontend assets and update api docs#5
Ran-Xing merged 1 commit into
mainfrom
cursor/integrate-frontend-assets-and-update-api-docs-c035

Conversation

@Ran-Xing

Copy link
Copy Markdown
Member

Implement frontend/backend separation by serving static assets and dedicating the backend to API routes.

This change addresses the requirement for the backend to no longer embed HTML, enabling independent frontend development and deployment. All API endpoints are now consistently prefixed with /api/, and static assets are served via Cloudflare Workers' ASSETS binding with SPA routing support.


Open in Cursor Open in Web

Co-authored-by: niubi77668 <niubi77668@zygd.site>
@cursor

cursor Bot commented Sep 12, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@github-actions

Copy link
Copy Markdown

Failed to generate code suggestions for PR

@Ran-Xing
Ran-Xing marked this pull request as ready for review September 12, 2025 14:50
@Ran-Xing
Ran-Xing merged commit 606dc60 into main Sep 12, 2025
1 check passed
@Ran-Xing
Ran-Xing deleted the cursor/integrate-frontend-assets-and-update-api-docs-c035 branch September 12, 2025 14:51
@github-actions

Copy link
Copy Markdown

Failed to generate code suggestions for PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants