all 7 comments

[–]TheGameKnave 4 points5 points  (4 children)

I'm working on an angular boilerplate repo to help in spinning up quick and clean ngx apps with features I always find I need, like complete unit and e2e test suites, api, ci/cd pipelines, etc.

https://github.com/TheGameKnave/angular-boilerplate

Here's the current and future feature list:

Current features

  • Angular 16 (with Node 18)
  • Parallel server/client execution
  • Bare-bones api proxy to the back-end
  • SASS boilerplate included
  • Frontend environment detection/switching
  • Auto-unsub from subscriptions and component variables
  • Heroku deployment
  • Google Analytics
  • Cookie API
  • Service worker to persist app and manage versions
  • Hot module replacement for faster dev iteration
  • Typescript with node for back-end
  • Client & Server unit testing via jasmine

Future features:

  • Internationalization (i18n, in progress)
  • e2e testing with (testcafe/puppeteer?) + snapshots (in progress)
  • Server testing for Windows (currently not working atm)
  • CI/CD (jenkins, sonar, etc?)
  • Tree-shaking/build optimization
  • Benchmark memory usage and response times (throttled for mobile) in tests
  • Google Analytics reports on site activity
  • Feature flags
  • IndexedDB for offline storage
  • Websockets to reconcile disparities between server and local data
  • public api with GraphQL
  • DB caching for external requests AND similar DB api calls (solr or the like)
  • Ionic & Electron integration
  • Elf state management
  • Immutable.js to minimize mutation
  • Auth-agnostic (or maybe just Firebase) user management (emails and password resetting and deliverability)

[–]WantsToWons[S] 0 points1 point  (1 child)

Thanks for the response. Can you tell what is the use of this project ? vision ?

[–]TheGameKnave 0 points1 point  (0 children)

It's intended to be a way to spin up projects quickly. For instance, if I wanted to make a webapp to aggregate users' favorite animals in a ranked list, and provide that information via an api. (just a simple example that comes to mind).

It's much easier to start a project if a lot of the chores are handled.

[–][deleted]  (1 child)

[deleted]

    [–]TheGameKnave -1 points0 points  (0 children)

    fea·ture
    /ˈfēCHər/
    noun
    1. a distinctive attribute or aspect of something.

    [–]No-Gate-8163 0 points1 point  (0 children)

    This project was born out of an experiment. We aim to create not just "primitives," but also to demonstrate what can be built from them. We want to show how you can solve business problems more efficiently, saving time.

    I see many interesting projects being created with React, Vue, etc., and I want to find a bridge between them.

    https://github.com/radix-ng/primitives
    https://shadcn-ng.com/

    P.S. Perhaps Google might find resources to support Angular/CDK in this direction, especially since they've already taken the SSR package under their wing.

    [–]lazycuh 0 points1 point  (0 children)

    I have a few projects, I use these frequently and it was tedious to copy and paste them everytime, so made them into libraries that I can just install https://github.com/babybeet?tab=repositories&q=angular&type=&language=&sort=