Self hosted API route
See original GitHub issueFirst off, huge work so far. This is great.
It could be useful to have an example in the documentation on how to self-host the Next API route. For instance, if it could be possible to import it into an API route within my Next build, and update a prop or environment variable so it uses my endpoint instead of the nfte.app
endpoint?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Self-Host ASP.NET Web API 1 (C#) - Microsoft Learn
Tutorial with code shows how to host a web API inside a console application using ASP.Net 4.x and Visual Studio 2012.
Read more >Routing issue in self hosted webapi - Stack Overflow
{ "Message": "No HTTP resource was found that matches the request URI 'http://localhost:9998/api/shri/flows/config'.", "MessageDetail": "No ...
Read more >How to Self-Host a Web API with .NET Framework
Step 2 – Fire Up Your Self-Hosted Server You just need to provide a little bit of configuration, then create a class of...
Read more >Web API Hosting - TutorialsTeacher
Learn how to host the Web API in IIS and Self-Host. ... Now, in the Main() method, configure a default route using config...
Read more >Self Hosting Web Api - YouTube
Episode #204This episode we are we are going to take a look at the Asp.Net Web Api framework. We are going to learn...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see this as possibly having two parts to it, one would be to package up the core part of the api logic to allow for importing it from a package and using it as a handler. The other part would be to update the react component to support taking in another endpoint url. Does that sound like something that would work for you?
Oh thats amazing to hear will be rolling out the updates to nfte.app any minute now