This is the template I use when I need the fine grained reactivity of SolidJS and the real-time capabilities of FeathersJS. I refer to the powerful duo (plus TypeScript) as the SoFT stack.
This template was created with the default options from npm create feathers@latest SoFT (Except uses Express rather than Koa), it also adapts SolidJS-SSR-Vite to integrate SolidJS streaming SSR and Vite HMR. And as with all my templates, this also has TailwindCSS added in.
Find an example chat app using this template here.
You probably don't need to be told this, but in case you forgot how to Node:
Clone the repo (or use the "Use this template" button), and then run npm install to install the dependencies.
- Run
npm run devto start the development server, your app will be available at http://localhost:3030. - Make epic shit.
- Run
npm run buildto build your app for production. By default, the output will be in thelibfolder. - Run
npm startto start the server in production mode.
- Run
npm run cleanto remove thelibfolder.
ts-node(added by FeathersJS CLI) has been replaced withtsx- Because this uses Rollup for production, the
compilescript was replaced by thebuildscript - Further deviating from the generated Feathers project, this uses ESM
- Because of the above, Rollup is configured to replace
__dirnamewithprocess.cwd() - Because of the optional dependencies of
knex,knexis marked as an external dependency in the Rollup config, keep this in mind when deploying to prod.
If you find this template helpful, consider paying it forward and/or pet a cat. They're often more appreciative than users. 🐱