Paulo De Mitri@paulogdm
Where are the error logs on zeit?
I tried https://github.com/zeit/micro/tree/master/examples/external-api-call locally, changing the api.example.com url to a working url and it is working. When I go on localhost:3000, the script return the correct result. If I deploy with now, then it looks like successful but…
This is still a WIP, so please don't advertise this too much, but I've been working on a session "middleware" for micro. It currently works with at least connect-mongo. You can find it here: https://github.com/meyer9/micro-session. Pull requests are welcome and if you find a…
How to run Micro on Now V2
Ive written a small graphql service using micro (followed the example). It runs fine under micro-dev and micro on my localhost. It deploys and runs under Now V1 but doesn't run under Now V2. Im using the @now/node builder which reports a successful. But i get a 504: An error…
Is Micro abandonware?
I tried to build and deploy serverless functions tonight using Micro and I couldn't for the life of me figure out how to deploy it until I found a thread on here or in GitHub issues where someone revealed they made their own build tool, whereas Zeit has not released an official…
Are there any good mocking libraries for Micro's Request/Response objects?
There is the popular node-mocks-http package, but this is primarily written for express users, so the req/res objects aren't exactly right. (And if your project is TypeScript, you actually have to add @types/express as a dependency to make it work, which feels a bit ugly in if…
Are unresolved promises terminated when calling send()?
I am using a micro to handle a Slack command but the action it performs frequently exceeds 3000ms which causes an operation_timeout error to be displayed to the user even though the task eventually completed successfully. The recommended solution is to send an immediate 200…
Can I use Micro as middleware
Hi guys, is quite difficult to find a tutorials of micro, so I have a couple of questions: is possible to use micro as middleware I have a personal project and I need consume the api fro eventbrite and facebook, so I need a middleware to handle the secrets and tokens, so I need…