create-aidanaden-jd-app
v1.0.84
Published
Create modern type safed Solid web application within seconds
Downloads
19
Maintainers
Readme
Create JD App
Create modern type safed Solid web application within seconds.
Getting Started
npm create jd-app@latest
Base Template
Addons
Examples
Preview
Folders And Why
/env
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 secrets, 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
/server
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.
T3 Relation
I really like the T3 stack, however I prefer using Solid more than React, now that Solid Start is in beta I thought it would be a great idea to integrate some of the t3 features into create-jd-app.