Ask HN: How do I make a website in 2023?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • htmx

    </> htmx - high power tools for HTML

    Look at htmx, i find the approach refreshing and elegant. May not be a fit for you, and does not address styling but it's an interesting, powerful technology.

    https://htmx.org/

    Nice essays too:

  • Svelte

    Cybernetically enhanced web apps

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • astro

    The web framework for content-driven websites. ⭐️ Star to support our work!

    Astro - https://astro.build/

    Is probably the fastest thing you can use with extremely sensible defaults and that you can use alongside most web frameworks.

    I've been using React for 6 years but this has changed my view of what is possible. You can write React/Vue and have it compiled statically or keep the component's interactivity.

    It's the tool I had been looking for for years.

  • Kirby

    Kirby's core application folder

    I can recommend Kirby (https://getkirby.com/), a flat file PHP CMS. It’s fast, has a panel to update data and can be hosted on any basically any PHP host. Just use the quite simple PHP-templates and add CSS & JS like you already know how to do. No need to complicate things.

  • pico

    Minimal CSS Framework for semantic HTML

    I still write basic HTML, styled using any of a number of simple classless CSS templates, like Pico.

    [0] https://picocss.com/

  • Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

    If you're already looking at Next.js + Tailwind but unsure about what to use for the DB, I'd recommend checking out the T3 stack [1].

    It uses tRPC [2] for type-safe API calls and Prisma [3] for your DB. There's lots of content out there teaching how to use this stack to build sophisticated apps (e.g. this in-depth tutorial teaching how to build a social media app [4]).

    Disclaimer: I work at Prisma and am also a huge fan of type-safety, so T3 is basically my dream stack.

    [1] https://create.t3.gg/

    [2] https://trpc.io/

    [3] https://www.prisma.io/

    [4] https://www.youtube.com/watch?v=jqVm5_G1ZEE&ab_channel=WebDe...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • create-t3-app

    The best way to start a full-stack, typesafe Next.js app

    If you're already looking at Next.js + Tailwind but unsure about what to use for the DB, I'd recommend checking out the T3 stack [1].

    It uses tRPC [2] for type-safe API calls and Prisma [3] for your DB. There's lots of content out there teaching how to use this stack to build sophisticated apps (e.g. this in-depth tutorial teaching how to build a social media app [4]).

    Disclaimer: I work at Prisma and am also a huge fan of type-safety, so T3 is basically my dream stack.

    [1] https://create.t3.gg/

    [2] https://trpc.io/

    [3] https://www.prisma.io/

    [4] https://www.youtube.com/watch?v=jqVm5_G1ZEE&ab_channel=WebDe...

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    It's simple. Just take the hydraulic react redux emulator, and attach it to the transdimensional photon nodejs emitter. Bam! New website.

    But seriously, nerds these days don't make it easy. Pretty sure they revel in the complexity. The nicest simple stack I've found is this:

    1. FastAPI backend - this is almost really good for getting a simple backend running. Some downsides:

    - some astonishments, bugs: [1] [2]

    - it's coupled with Pydantic, which can get confusing because you end up with basically two sets of models if you use an ORM: your ORM "actual models" and then your Pydantic validation models. Just got a little confusing

    - uvicorn? gunicorn? unicorn? WSGI? who?

    - it's python, so you'll have to deal with cringe and blue-pilled dependency management, among other things

    2. Vanilla HTML, CSS, and JS - nice thing about FastAPI is you can be flexible with how you implement the frontend. I've used it to make everything from simple SPA's using vanilla web components to traditional templated SSR sites, and mixes therein.

    [1] https://github.com/tiangolo/fastapi/issues/2872

    [2] https://github.com/tiangolo/fastapi/discussions/3970

  • lazyweb

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts