b4dnewz/keylog.io

Project refactoring

Opened this issue · 0 comments

It has been a while since last update, also I don't use angular anymore and all the dependencies are outdated.

The project itself is still valid and a good idea, but needs to be refactored to something better with a better web interface and a robust backend service.

I list only a few ideas for refactoring that came to my mind lately:

For the frontend:

  • Migrating framework from Angular to Vue, in particular a Nuxt SSR application, this bring to the project cool features such as automatic code splitting, server side rendering, a rich development with pre-processors, linter and more.
  • Managing sockets with dedicated vue-plugin for a smoother and better user experience.
  • Possible Typescript support for application components and data.

For the backend:

  • Typescript based, scalable and efficient server with nestjs that can be easily maintained and/or changed through the future
  • Custom jwt authentication with passport using a users collection, allowing private servers to have multiple users which access different resources.
  • Configuration module that can easily switch between private (or local) domain or public (community) domain.
  • Push notifications for authenticated users when certain rules or custom defined criteria is match