Static React App

Static React App
πŸ‘¨β€πŸ’Ό We've got an app all ready to go, we just need things wired up so the hono.js app serves our static assets properly as well as our endpoint for data.
You'll find the database in
db/ships.json
and the db client in
db/ship-api.js
.
Your job here is to get the hono.js app to serve the static assets and serve the ship data from the database. Do this in
server/app.js
.
Then fix our importmap in
public/index.html
so the browser knows how to resolve imports for our dependencies and add a script tag to load our
ui/index.js
from the hono.js server via /ui/index.js.
πŸ’° I'm going to be extremely hand-holdy on this one because this is really just a warm up for you to get to know the codebase a bit. We'll get to the React Server Components stuff next.

Please set the playground first

Loading "Static React App"
Loading "Static React App"