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

[Javascript] Add next.js #7361

Open
waghanza opened this issue Apr 2, 2024 · 2 comments
Open

[Javascript] Add next.js #7361

waghanza opened this issue Apr 2, 2024 · 2 comments

Comments

@waghanza
Copy link
Collaborator

waghanza commented Apr 2, 2024

Hi @gengjiawen,

Feel free to create a PR to add next.js

Following the-benchmarker/website#50.


The idea is to implement 3 routes


  • GET /, SHOULD return a successful status code and an empty string
  • GET /user/:id, SHOULD return a successful status code and the id
  • POST /user, SHOULD return a successful status code and an empty string

Regards,

@gengjiawen
Copy link

can this put under api path, like this.

/api/, return a successful status code and an empty string

@waghanza
Copy link
Collaborator Author

waghanza commented Apr 2, 2024

no, should be / at root path

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

No branches or pull requests

2 participants