Загрузка видео...

Не удалось загрузить видео

На главную

Codex tip: Build and deploy APIs with Sites Not just web apps. Below is a JSON API using Hono, database storage, typed Drizzle queries, and a live database viewer. It was all built, deployed, and managed from Codex - with the web frontend. Bonus: Had Codex generate and run...

11,729 просмотров • 2 месяцев назад •via X (Twitter)

Комментарии: 7

Фото профиля Stephen
Stephen2 месяцев назад

Plus, Custom Domain config is available.

Фото профиля Mahmoud
Mahmoud2 месяцев назад

I missed seeing you on my time line. Congrats on joining the Codex team!! 😄 Codex is my daily driver

Фото профиля Stephen
Stephen2 месяцев назад

You're showing up on mine too - The world is definitely healing 🤣 Codexing all the things!

Фото профиля Neuromancer
Neuromancer2 месяцев назад

How do you add secrets /api token to the sites ?

Фото профиля Stephen
Stephen2 месяцев назад

Environment vars and secrets - more docs here -

Фото профиля aaoo
aaoo2 месяцев назад

How did it handle migrations and access control for the live DB viewer after deploy?

Фото профиля Stephen
Stephen2 месяцев назад

Behind the scenes, the DB is a D1 binding (@CloudflareDev) that is available to the server side compute env.

Похожие видео