Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Routes #1007

Closed
Tracked by #1034
thescientist13 opened this issue Nov 21, 2022 · 0 comments · Fixed by #1017, #1037 or #1034
Closed
Tracked by #1034

API Routes #1007

thescientist13 opened this issue Nov 21, 2022 · 0 comments · Fixed by #1017, #1037 or #1034
Assignees
Labels
alpha.0 CLI documentation Greenwood specific docs feature New feature or request SSR v0.28.0
Milestone

Comments

@thescientist13
Copy link
Member

Overview

Pretty straightforward, but Greenwood should support standalone API routes, along side pages. So for example

src/
  api/
    greeting.js

Would be reachable at /api/greeting

Details

Some important details to keep in mind

  • Should follow Request / Response model
  • Should play nicely with adapters / server less
  • Should be streaming compatible
@thescientist13 thescientist13 added this to the 1.0 milestone Nov 21, 2022
@thescientist13 thescientist13 added documentation Greenwood specific docs CLI SSR feature New feature or request labels Nov 21, 2022
@thescientist13 thescientist13 self-assigned this Nov 21, 2022
@thescientist13 thescientist13 moved this from 📋 Backlog to 🔖 Ready in [Greenwood] Phase 9 - Standards and Conventions Nov 21, 2022
@thescientist13 thescientist13 moved this from 🔖 Ready to 🏗 In progress in [Greenwood] Phase 9 - Standards and Conventions Nov 22, 2022
@thescientist13 thescientist13 pinned this issue Nov 23, 2022
@thescientist13 thescientist13 moved this from 🏗 In progress to 👀 In review in [Greenwood] Phase 9 - Standards and Conventions Dec 14, 2022
@thescientist13 thescientist13 moved this from 👀 In review to 🏗 In progress in [Greenwood] Phase 9 - Standards and Conventions Dec 17, 2022
@thescientist13 thescientist13 moved this from 🏗 In progress to 👀 In review in [Greenwood] Phase 9 - Standards and Conventions Dec 17, 2022
@thescientist13 thescientist13 moved this from 👀 In review to ✅ Done in [Greenwood] Phase 9 - Standards and Conventions Dec 17, 2022
@thescientist13 thescientist13 linked a pull request Dec 24, 2022 that will close this issue
@thescientist13 thescientist13 linked a pull request Feb 5, 2023 that will close this issue
22 tasks
@thescientist13 thescientist13 unpinned this issue Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha.0 CLI documentation Greenwood specific docs feature New feature or request SSR v0.28.0
Projects
No open projects
1 participant