Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Build a GraphQL API and deploy it in minutes with Encore 🚀

Posted on Oct 15 This guide shows how to build a GraphQL API with Encore. It implements a backend for a url shortener as an example, and shows how you deploy it to Encore's free development cloud.🚀 What's on deck:Install the Encore CLI to run your local environment:Create a new Encore application and clone this example with this command:Before running your application, make sure you have Docker installed and running. It's required to locally run Encore applications with databases.Run your Encore backend:You should see this:👉 Open http://localhost:9400/ to view Encore's local developer dashboard.Let's run some queries using the GraphQL Playground!👉 Open http://localhost:4000/graphql/playground in your browser.Deploy your backend to a staging environment in Encore's free development cloud:👉 Then head over to the Cloud Dashboard to monitor your deployment and find your production URL.From there you can also see metrics, traces, connect your app to a GitHub repo to get automatic deploys on new commits, and connect your own AWS or GCP account to use for deployment.You now have a scalable and production-ready web app foundation running in the cloud.Keep building with these Open Source App Templates. 👈If you have questions or want to share your work, join the developers hangout in Encore's community Slack. 👈Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Thierry Chau - Oct 5 Bap - Oct 12 Meat Boy - Oct 13 An Architect - Oct 13 If you want to stop spending time on boring tasks and start being productive and creative, come check out Encore. It's free. Once suspended, encore will not be able to comment or publish posts until their suspension is removed. Once unsuspended, encore will be able to comment and publish posts again. Once unpublished, all posts by encore will become hidden and only accessible to themselves. If encore is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to marcuskohlberg. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag encore: encore consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging encore will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

Build a GraphQL API and deploy it in minutes with Encore 🚀

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×