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

Feature Request: Use the filesystem as server API #1171

Closed
mingfang opened this issue Feb 16, 2017 · 4 comments
Closed

Feature Request: Use the filesystem as server API #1171

mingfang opened this issue Feb 16, 2017 · 4 comments

Comments

@mingfang
Copy link

Enrouten (https://github.com/krakenjs/express-enrouten) is an express module that automatically route requests based on the filesystem. Using this creates a nice synergy with using the filesystem to route pages.

@rauchg
Copy link
Member

rauchg commented Feb 16, 2017

You can use this in combination with node server. No need to bundle! Express example:
https://github.com/zeit/next.js/tree/master/examples/custom-server-express

@rauchg rauchg closed this as completed Feb 16, 2017
@mingfang
Copy link
Author

I know that. I was making a case that something like enrouten should be made default.
I've never had an issue closed so fast on github.
Your behavior is making be reconsider supporting this project.

@arunoda
Copy link
Contributor

arunoda commented Feb 16, 2017

@mingfang we've discussed a lot related to this here: #25
So, instead building this we went with this: #291

Docs: https://github.com/zeit/next.js#custom-server-and-routing

We suggest to build these features in the userland and won't be available in the core.

@mingfang
Copy link
Author

@arunoda I tried searching the issues before posting but missed the ones you sent. Thanks.

@lock lock bot locked as resolved and limited conversation to collaborators May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants