Create modern type safed Solid web application within seconds.
npm create jd-app@latest
It adds nice type safety check and zod validation to your env (both client and server), so it is recommended to use it in your code (can be used to store JWT secret, etc).
- /env/client - Client side env -
imort.meta.env
- /env/server - Server side env -
process.env
- /env/schema - Schema for env -
Zod Client Schema & Zod Server Schema
The server folder is where you put all of your server side code (anything that will not be imported by client), you may see this folder when you use tRPC
or Prisma
.
- /server/trpc - tRPC server side code: routers, context, utils, etc.
- /server/db -
client.ts
= Where the prisma client is being created.
This project was inspired by create t3 app and was created in order to make it easier to create a solid app. (and replace npm init solid
)