Giter Club home page Giter Club logo

binarystarter-angular's Introduction

Angular 16, Payload CMS, ExpressJs - Free Open-Source Full-Stack Boilerplate

✨ Professional Web Application Development Starter without the complexity.

Secure, Stable, Automated.

Join Discord Community

Features

  • Payload CMS (headless open-source CMS)
  • I18n
  • TailwindCSS
  • Angular Material
  • Lazy Loading
  • Server Side Rendering App
  • Client Side App
  • Authentication, Authorization
  • Lazy loaded Dashboard for authenticated users
  • Standalone Components
  • Pnpm, esbuild

Installation

For full documentation refer to binarystarter.com

Resources

Prerequisites:

Let’s get started! 🚀

Clone GitHub Repository

Run in a terminal git clone https://github.com/binarystarter/binarystarter-angular.git. To specify another folder name, you can do a direct git clone https://github.com/binarystarter/binarystarter-angular.git <project_name>.

Install modules

Run pnpm install.

Start the app

Documentation: binarystarter.com

The app

Angular

The angular app can be accessed using http://localhost:4200 - the Server Side Rendered app The Angular client-side app can be accessed at HTTP://localhost:4200/app/... and HTTP://localhost:4200/auth/...

Payload CMS

The payloadcms administration panel can be accessed at HTTP://localhost:8080/admin

ExpressJS

ExpressJS endpoints can be accessed from HTTP://localhost:8080/...

Out-of-the-box

Authentication and Authorization

The authentication system is based on Passport Js.

Out of the box you get the following pages in Angular, connected with the ExpressJs and Payload CMS.

Angular SSR and Dashboard App

Angular comes with separated modules for the static pages and the single page application.

Separation of concerns is very important at this stage of development of the Angular Universal.

Static Pages are encapsuled in their modules and they don’t interact with browser APIs hungry components.

DRY - Shared Types between the Backend and Frontend

The Backend TypeScript types should not be available on the Frontend.

What most developers do is create the same types on both frontend and backend APIs, which makes a bad precedence of duplicated code.

This problem is solved by using a mono repository.

Managed by nx.dev tools - now extending TypeScript types from the Backend or creating them from scratch can be done in a single shared library between your Angular app and ExpressJs Backend.

ExpressJs Server integrated with Payload CMS out of the box

We get all the benefits of a monorepository out of the box.

ExpressJs is tightly integrated with PayloadCMS, but you can still add your own routes, outside of Payload.

We believe in TypeScript, hence everything is based on TypeScript.

Connect with me

binarystarter-angular's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.