How itshinmo/fullstack-sandbox works
This is a small full-stack starter: the home route renders a welcome component, which fetches the server’s root endpoint and displays its text or an error. The server applies JSON-formatting and CORS middleware and responds with “Hello World!”; shared constants configure the client/server URLs, and a shared utility colors its startup log. The source shows this basic request/response path, but the README provides no further product capabilities.
Main entry points: main.ts HTTP app · welcome.tsx Welcome fetch · home.tsx Home route · constants.ts Network URLs
Components 8
Client
- Route config
client/app/routes.ts - Home route
client/app/routes/home.tsx - Welcome fetch
client/app/welcome/welcome.tsx - App shell
client/app/root.tsx
Server
- HTTP app
server/src/main.ts
Shared
- Network URLs
shared/src/constants.ts - Terminal colors
shared/src/utilities.ts
Other components
- Browser user
Connections 7
- Route config → Home route: maps index
client/app/routes.ts - Home route → Welcome fetch: renders
client/app/routes/home.tsx - Welcome fetch → Network URLs: reads URL
client/app/welcome/welcome.tsx - Welcome fetch → HTTP app: fetches endpoint
client/app/welcome/welcome.tsx - HTTP app → Network URLs: reads CORS URL
server/src/main.ts - HTTP app → Terminal colors: colors startup log
server/src/main.ts - HTTP app → Browser user: returns text
server/src/main.ts