web-frameworks
web-frameworks copied to clipboard
[Javascript] Add next.js
Hi @gengjiawen,
Feel free to create a PR to add next.js
Following https://github.com/the-benchmarker/website/issues/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,
can this put under api path, like this.
/api/, return a successful status code and an empty string
no, should be / at root path