Skip to content
/ ngXpress Public template

πŸš€ The ultimate full-stack Angular starter kit: Angular 20, SSR ⚑️, Zoneless πŸŒ€, Express 5 πŸš‚, Prisma πŸ—„οΈ, better-auth πŸ”, and Tailwind CSS 4 🎨. Build scalable, production-ready apps with zero boilerplate. Next.js experience, Angular power.

License

Notifications You must be signed in to change notification settings

angularcafe/ngXpress

Repository files navigation

ngXpress: The Full-Stack Angular Starter Kit (SSR, Zoneless, Express 5, Prisma, better-auth, Tailwind CSS 4)

Version Angular Express.js TypeScript License

GitHub stars GitHub forks GitHub issues GitHub pull requests

Created and maintained by @immohammadjaved

Think of ngXpress as the Next.js equivalent for Angular β€” but without the bloat, plugins, or learning curve. Just Angular + Express, the way it should be. ngXpress is a modern Angular 20 + Express 5 starter with SSR, zoneless execution, Prisma ORM, better-auth for authentication, and Tailwind CSS for styling. Build scalable, maintainable full-stack apps with zero boilerplate.

ngXpress

ngXpress: Modern Angular + Express full-stack starter in action


πŸš€ What is ngXpress?

ngXpress is a full-stack Angular starter kit designed to give you a seamless, modern development experience. It brings together the best of Angular 20, Express 5, zoneless execution, Prisma ORM, better-auth for authentication, and Tailwind CSS for stylingβ€”all in one place.

With ngXpress, you get:

  • A feature-first, modular backend structure for rapid API development
  • Out-of-the-box SSR for SEO and performance
  • A zoneless Angular setup for maximum speed and simplicity
  • Built-in authentication and beautiful, responsive UI with Tailwind CSS
  • A codebase that’s easy to extend, maintain, and deploy

Whether you’re building a prototype or a production app, ngXpress gives you the tools and patterns you needβ€”without the overhead or complexity of other frameworks.


✨ Features

  • Angular 20 with SSR, signals, and standalone components
  • Express 5 REST API, modular by feature
  • Prisma ORM (SQLite by default, easy to switch)
  • Zoneless: No zone.js required β€” enjoy modern, high-performance Angular
  • Authentication-ready with better-auth
  • Tailwind CSS for modern, responsive UI
  • TypeScript everywhere
  • Global error handling
  • Feature-first folder structure
  • Ready for deployment

πŸ› οΈ Tech Stack

Frontend: Angular 20 (zoneless), TypeScript, Tailwind CSS
Backend: Express 5, Prisma ORM, Node.js, better-auth
Dev Tools: Angular CLI, ESLint, Prettier


πŸš€ Quick Start

  1. Create your project from this template

    • Click the green β€œUse this template” button on GitHub
    • Choose your repo name and create your new project
  2. Clone your new repository

    git clone https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
    cd YOUR_REPO_NAME
  3. Install dependencies

    npm install
  4. Set up the database

    npx prisma migrate dev --name init
  5. Start the development server

    npm run start
    # or for SSR
    npm run serve:ssr:ngxpress
  6. Open your app


Tip:

  • Update the repo URL in step 2 to use your new repo name.
  • This repo is a template. Click β€˜Use this template’ to start your own project instantly!

πŸ“¦ Available Scripts

npm start                # Start Angular dev server
npm run build            # Build Angular app
npm run serve:ssr:ngxpress  # Start SSR server
npm test                 # Run unit tests
npm run lint             # Lint code

πŸ—οΈ File Structure

Frontend (Angular)

src/app/
  pages/         # Route-based pages
  components/    # Reusable UI components
  services/      # Angular services (API, state, etc.)
  models/        # TypeScript interfaces and models
  app.ts         # Main Angular app module
  app.html       # App shell template
  app.routes.ts  # App routes
  ...

Backend/API (Express)

src/api/
  features/
    todos/         # Example feature: Todo REST API (Prisma-powered)
      todos.controller.ts
      todos.routes.ts
  lib/             # Shared backend utilities (Prisma client, auth, etc.)
    prisma.ts
    auth.ts        # better-auth integration
  middlewares/     # Express middlewares (if any)
  utils/           # Utility functions (e.g., asyncHandler)
  api.ts           # Main API router

πŸ“ Example: Todo REST API

  • GET /api/todos β€” List all todos
  • GET /api/todos/:id β€” Get a single todo
  • POST /api/todos β€” Create a new todo
  • PUT /api/todos/:id β€” Update a todo
  • DELETE /api/todos/:id β€” Delete a todo

🧩 Customization Guide

  • Add new features in src/api/features/
  • Define new Prisma models in prisma/schema.prisma
  • Add Angular pages/components in src/app/pages or src/app/components
  • Update styles in tailwind.config.js and src/styles.css
  • Configure authentication with better-auth

🀝 Contributing

PRs and issues are welcome! See CONTRIBUTING.md for details.


πŸ“„ License

MIT


ngXpress β€” The modern Angular + Express starter you always wanted.


Keywords: angular, angular-starter, angular-template, angular-fullstack, angular-universal, angular-ssr, angular-express, angular-prisma, angular-tailwind, angular-auth, fullstack, fullstack-starter, ssr, express, expressjs, prisma, tailwindcss, authentication, better-auth, typescript, nodejs, monorepo, modern-web, scalable, production-ready, nextjs-alternative, nextjs-for-angular, zoneless, angular-zoneless


πŸ‘€ Creator

Made with ❀️ by @immohammadjaved.
Follow me for updates, tips, and more Angular/Node content!


About

πŸš€ The ultimate full-stack Angular starter kit: Angular 20, SSR ⚑️, Zoneless πŸŒ€, Express 5 πŸš‚, Prisma πŸ—„οΈ, better-auth πŸ”, and Tailwind CSS 4 🎨. Build scalable, production-ready apps with zero boilerplate. Next.js experience, Angular power.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published