GithubHelp home page GithubHelp logo

trading-chart-wip's Introduction

Demo

You can view the demo here.

Tech stacks

  • Frontend: Angular 16, Angular Material, Sass
  • Backend: NestJs
  • Database: MongoDB
  • Deployment: Netlify, Cyclic

Netlify

Angular

NestJS

NPM

MongoDB

Deployment

Frontend Application Deployment:

  1. Developers push code changes to the Git repository.
  2. Netlify detects changes in the master branch and triggers a build job.
  3. Netlify builds the Angular application and deploys it to the production environment.

Backend Application Deployment:

  1. Developers push code changes to the Git repository.
  2. Cyclic detects changes in the master branch and triggers a build job.
  3. Cyclic builds the Nestjs application and deploys it to the production environment.
  4. Cyclic applies environment variables configured on Cyclic to the production environment.

Database Deployment:

  • Utilize MongoDB Atlas as Cloud Database Service

Environments:

  • Development Environment: Used for development and testing.
  • Production Environment: Used for actual user access.

Pipelines:

  • Frontend Build Pipeline: Builds and deploys the frontend application to Netlify.
  • Backend Build Pipeline: Builds and deploys the backend application to Cyclic.

Benefits of this approach:

  • Automated deployments: Code changes are automatically deployed to production, reducing manual intervention and errors.
  • Environment separation: Development and production environments are separated, preventing accidental deployments to production.
  • Environment-specific configurations: Environment variables can be configured differently for development and production environments.

Solution

Frontend development

  • Embrace the latest Angular version 16 and leverage its cutting-edge features like signals, standalone components, and functional guards for enhanced development efficiency.

  • Implement interceptors to seamlessly modify HTTP requests and adapt them to specific application needs.

  • Employ guards to safeguard routes and enforce access control, ensuring that unauthorized users cannot access restricted areas of the application.

  • Utilize reactive forms to handle complex form data management.

  • Adopt change detection on push to optimize performance by minimizing unnecessary change detection cycles and enhancing application responsiveness.

  • Adhere to Angular best practices and coding conventions to maintain a consistent, well-structured, and maintainable codebase.

Backend development

  • Leverage Dependency Injection to inject dependencies into services, controllers, and other components, fostering a modular and testable codebase.

  • Adopt a modular architecture by structuring NestJS application into distinct modules, each encapsulating a specific business domain or feature.

  • Utilize NestJS exception filters to intercept errors, and provide meaningful error responses to clients.

Limitation

  1. Missing JWT implementation
  2. Missing unit tests

trading-chart-wip's People

Contributors

manng2 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.