Skip to content

Step 2 - Initialize the backend

Course: Blogging website - chapter 2

Whenever you’re building a project, usually the first thing you should do is initialise the project’s backend.

Create a new folder called medium

Terminal window
mkdir medium
cd medium

Initialize a hono based cloudflare worker app

Terminal window
npm create hono@latest

Target directory › backend

Which template do you want to use? - cloudflare-workers

Do you want to install project dependencies? … yes Which package manager do you want to use? › npm (or yarn or bun, doesnt matter)

💡 Reference https://hono.dev/top