Tech Stacks, Frameworks and Template Projects
For starting and launching new projects fast it is best to stick with whatever framework and stack you already know. In my case it's TS (Nextjs).
Unless the app must maximize performance and scalability or has some requirement that JS can't fill. Nextjs will be more than enough for whatever thing I may want to build.
Typescript / Javascript
- javascript frameworks and must have packages
- common modern TS fullstack stack: Express backend, Next front-end, TypeScript, drizzle-orm, zod, tRPC. nodemon
solopreneur stack
TypeScript, Nextjs, postgres.
ORM: prisma or drizzle
schema validation: zod
auth nextauth(auth.js)(rolling your own) or clerk(service)
design: tailwind, ShadCN UI
emails: Resend (skip mailgun)
hosting: netlify, vercel, supabase.
ppl often host on vercel and once they get enough traffic switch to a VPS using Coolify, which is an open source and self hostable Heroku / netlify / vercel alternative.
AWS amplify, 1 click deployment for $1
don't host on AWS and complex platforms if business isn't massive. try to avoid vendor lock in.
file hosting: idk(web server file storage)
payments: stripe (online monetization and payments processing)
analytics: posthog (site and user analytics)
mobile: react native (expo)
but "try to avoid building for mobile in general. mobile users aren't in the mindset for solving business problems, just entertainment". I'm not sure I agree with this point. apps like binance, etoro, banks have most of their traffic on mobile. His point is it's not beginner friendly
react starter templates
-
create t3 app(abandoned I think) fullstack + vercel payments example https://github.com/vercel/nextjs-subscription-payments/tree/main. https://nkrkn.me/writing/t3-stripe / https://github.com/nramkissoon/t3-stripe / tutorial.
-
SaaS starter kit https://github.com/boxyhq/saas-starter-kit?tab=readme-ov-file
-
shipfast next, tailwind, nextauth, supabase, stripe, mailgun. fullstack
-
react-starter-kit graphql, react, relay, material UI. fullstack or it's brother nextjs-starter-kit
svelte
APIs / backend as a service
-
GraphQL learning Hasura all types of apps https://github.com/hasura/sample-apps
-
convex looks very interesting, with options to self host.
-
FullStackHero.NET 7 API boilerplate, very complete with all types of features like logging and auth and deployment with docker, terraform, aws...
python
- cookiecutter is a cli util that creates projects from project templates. (need to find cookies(templates) in order to use it)
- https://github.com/sourcery-ai/python-best-practices-cookiecutter
this project sets up most common best practices python packages for linting, formatting, testing, import sorting, static typing and git hooks that runs everything pre-commit. also has a Dockerfile and docker publish
fullstack very complete
- FastAPI backend, React, typescript, postgres, SqlAlchemy ORM, docker-compose, material UI, react-admin dashboard, and more...
https://github.com/Buuntu/fastapi-react
django
flask
- cookiecutter full app with flask, with Bootstrap, asset bundling+minification with webpack, starter templates and user reg/auth.
- REST API
package /lib / pypackage template
https://github.com/audreyfeldroy/cookiecutter-pypackage
https://github.com/cjolowicz/cookiecutter-hypermodern-python
pytest plugin template
data science
https://github.com/docker-science/cookiecutter-docker-science
misc
- resilient and can handle massive traffic emergency website kit