Code Monkey home page Code Monkey logo

blog-posts's Introduction

Blog posts

A web app that uses Graphqlzero to show blog posts

Features

  • ⚡️ Angular 15
  • ⛑ TypeScript
  • 📪 NgRX
  • 🚧 Apollo GraphQL
  • 📝 Reactive Forms
  • 📏 ESLint — To find and fix problems in the code
  • 💖 Prettier — Code Formatter for consistent style

Live Demo

https://blog-posts-eight.vercel.app/feed

Overview

  • The project has been built following the LIFT (Locate, Identify, Flattest, and Try to be DRY) architecture and industry-standard best practices. The LIFT architecture facilitates code scalability, maintainability, and testability, enabling it to handle large-scale projects with ease.
  • The project features a responsive UI design that showcases my prowess in vanilla CSS without relying on external CSS libraries.
  • The codebase is adherent to the ESLint and Prettier guidelines, ensuring code consistency, maintainability, and readability.

Technical details

  • Reactive Programming: Reactive programming, as facilitated by ngrx/store and ngrx/effects, is employed in the project, offering an efficient way of managing state and enabling more predictable and maintainable code.
  • OnPush Change Detection Strategy: The ChangeDetectionStrategy.OnPush technique enhances the app's performance by having Angular check only the inputs, outputs, or event handlers that have changed, significantly reducing the time spent on checking every aspect of the component.
  • Separation of Concerns: The component class focuses on the component's view logic, while the state management logic is delegated to ngrx/store. Such a separation fosters code understandability and maintainability, reducing code complexity and redundancy.

Missing Features

  • Unit Tests and e2e Tests: The lack of testing is regrettable, but it does not detract from the project's core functionality.
  • Alert/Error: The use of browser alert/error is not recommended, and I recognize that a custom alert/modal would be a more suitable replacement.
  • UI/UX and Edge Cases: The project's user interface and user experience, including edge case handling, require further refinement to enhance their quality and accessibility.
  • More meaningful comments

Run Locally

Clone the project

  git clone https://github.com/biagruot/blog-posts.git

Go to the project directory

  cd blog-posts

Install dependencies

  yarn install

Start the server

  ng serve

Author

👤 Biagio Ruotolo

License

This project is licensed under the MIT License - see the LICENSE.md file for more information.

Made with ❤️ in 🇮🇹

blog-posts's People

Contributors

biagruot avatar

Watchers

 avatar

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.