0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
Cloud Run is a serverless container hosting service. It's a great fit for Notely because it has a generous free tier, scales automatically, and automagically configures pesky infrastructure like:
In a nutshell, we give Cloud Run a Docker image, and it runs it for us.
Cloud run has 2 types of applications:
A "service" is a Cloud Run application that listens and responds to web requests, as opposed to a "job" which is simply a task that runs to completion.
Notely makes sense as a service because it's a web application that needs to respond to web requests. It needs to serve the frontend, and it needs to respond to API requests.
For now, let's create a test service. Once we're comfortable with the process, we'll deploy Notely.
Run and submit the CLI tests and use the URL of your service (e.g. bootdev config base_url https://test-vo4kpyh36a-uc.a.run.app/
).
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run 1bf5c34f-3ca5-4b5c-8897-9d2a52d9406d
Submit
bootdev run 1bf5c34f-3ca5-4b5c-8897-9d2a52d9406d -s
To run and submit the tests for this lesson, you must have an active Boot.dev membership
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.