I plan to write a future article about configuring a Nuxt lambda for serverless SSR.). After a successful build you will get a deployed application address, similar to this: The majority of work is automated and can be done in just a few steps. Also, it has a free tier, that will probably cover your small project requirements. This repo deploys the FastAPI SQL Databases Tutorial to demonstrate how a FastAPI app can be deployed using the Zeit Asynchronous Server Gateway Interface (ASGI) . Hard to test and debug - challenging to replicate a serverless environment. Serverless computing means that the developer can focus on writing logic code and scaling and managing of resources are handled by a third party (cloud provider). A simple example of a function that sends back a greeting message as a response would be so: If you create a Node.js application, you will have access to some helpers, that is very similar to express.js: Deployment with Now is a breeze. It supports React, Node.js, Go and many more. It's so easy to set up now.sh app that you think it's going to be the same for the database . using ZEIT Now to host your Nuxt application, you can use the same entrypoints for Nuxt server middleware and your Now serverless functions They make serverless development extremely easy and projects deployments a joy. You might need to do processor-intensive operations -- for example, searching a static database. The benefit of setting it up this way is: Now allows you to use express as a routing layer -- even though this might seem paradoxical for a serverless framework. For my side project, tracking of favourite TV shows, I created a simple API, that response with the list of data from RSS feed. #Serverless #Next.js #Zeit Now #GraphQL #Lambda About Hasura Hasura allows you to mobilize & federate your organisation’s data by building a powerful, secure & flexible GraphQL API, that can query data in your databases, HTTP services, serverless functions as well as third party APIs. You can easily detect whether you are operating within the Now environment using the NOW_REGION environment variable, and conditionally load your server middleware -- such as if you are using @nuxt/now-builder. (Note that the below configuration will not work with @nuxt/now-builder. Open source and radically transparent. Serverless infrastructure can be easy to set up, and provider like Zeit Now makes this process friendly for developers. ZEIT Now's zero-config support is improving daily, and will almost certainly work out-of-the-box. If you have a simple project, very little needs to be done. Maintainance - service provider is taking care of the server updates, patches, hardware, Cost - you pay for what you use; for a number of invocations or computational value, Security - each function is stored as a separate package per entry-point, Not suitable for long-time running because of price. Zeit Now CLI offers quick templates to bootstrap your projects. https://vanilla-functions-bcb58vyrs.now.sh. Now it's up to you, what's going to happen inside the serverless functions. When building a modern web application, you might want to use serverless functions (or lambdas). You might need to keep your code private -- because you are consuming secrets or want to conceal your endpoints. For my project, I use vanilla-functions template. We're a place where coders share, stay up-to-date and grow their careers. To follow this example, create an account at zeit.co and install Now globally in your system by running npm i -g now , and with that you are ready to go. We strive for transparency and don't collect excess data. Actually, you can simulate a local serverless enviroment with now dev. If you got interested, see more information about Now Serverless Functions. It's amazing! The only downside I've only came across is using the service with a third party data store. Templates let you quickly answer FAQs or store snippets for re-use. I looked into AWS and Google services and got lost in the documentation and sign up processes. If you got interested, see more information about Now Serverless Functions. Just run a command in a terminal from your project root directory: And see how everything is done for you. Built on Forem — the open source software that powers DEV and other inclusive communities. The serverless platform we are going to use is ZEIT Now. The easy and not efficient way to solve this is using a file database system, but it's clearly good for small projects. If the concept of a serverless application is new to you, in a nutshell, it is a serverless Lambdas (functions) per entry point, stored in a third-party cloud infrastructure provider and executed on-demand — each function stored as a separate package. https://vanilla-functions-bcb58vyrs.now.sh/api/greet To mention popular ones: Amazon AWS Lambda, Google Cloud Function, Cloudflare Workers, Azure Functions. You write and push the code with Now, everything else managed automatically, and you receive an entry point to execute your function. You are not tied to a single hosting provider. For Now to create an entry point and function to be valid, it must be placed under /api directory in the root of a project and exported as a default.