Giter VIP home page Giter VIP logo

foodmix-type's Introduction

I'm Nguyen Tran, Aka Yuan

Freelancer

GitHub followers

📫 Like to meet me?

Pick a slot if you'd like to meet me and chat about anything you are passionate about - but make sure to describe the agenda

Facebook Instagram Facebook Profile View

A little more about me...

//
//  Created by Guen on 24/02/2022.
//
struct Me {
    let pronouns = ["Him", "He", "Yuan", "Guen", "Seme"]
    let role = "Software Engineer"
    let skills = ["Web", "App", "Design", "Tech"]
    let backEnd = ["Node", "Express", "NestJS", "GraphQL", "PHP"]
    let mobileApp = ["Swift", "Flutter", "React Navite"]
    let frontEnd = ["Vue", "Nuxt", "React", "Vanilla", "Tailwind"]
    let databases = ["Mongo", "MySQL", "Redis"]
    let misc = ["Firebase", "Socket.IO"]

    func say() -> Void {
        print("Thanks for dropping by, hope you find some of my work interesting.")
    }
    
    func fact() -> Void {
        print("I am not gay but my boyfriend is 🤣")
    }
}

Other Languages and Tools I Recently Use


Visual Studio Code Xcode HTML5 CSS3 Sass Git GoogleCloud Postman

foodmix-type's People

Stargazers

 avatar  avatar

Watchers

 avatar

foodmix-type's Issues

Refactor Interface

Chia nhỏ các file schema và service để dễ quản lý và mở rộng

Graphql Support

Cần mở rộng. Chuyển đổi các controllers để tương thích với cả resful và graphql

  • Chia nhỏ controller thành các modules nhỏ hơn
  • Tạo wrap cho các xử lý, sẽ được gọi là action.
  • Các action sẽ xử lý trả về data | throw error
  • Các wrap sẽ nhận kết quả và xử lý từ các action để phù hợp cho restful và graphql

Dữ liệu dư thừa khi gán object cho interface hoặc class...

Khi gán object cho 1 biến có type interface | class biến được gán xuất hiện dữ liệu dư thừa

interface IFoo {
    name: string
}

const obj = {
        name: 'Foo',
        bar: 'Bar'
}

const test: IFoo = obj

console.log(test) // => { name: 'Foo', bar: 'Bar' }

Hiện đang tranform bằng transformerKey nhưng gặp thêm các vấn đề:

  • Mặc dù cast as T nhưng nhận về chỉ là object thông thường
  • Dữ liệu nhận về chỉ ở mức gần đúng nếu T là interface
  • Nếu T là class sẽ ko gây ra lỗi. Nhưng không thể truy cập dc các method, getter. Vì nó chỉ là object thông thường

Refactor recipe.controller.ts

Controller này quá dài, gây khó khăn trong bảo trì và phát triển.
Cần refactor thành các modules nhỏ hơn.

Notify Support

Hỗ trợ realtime Notify qua GraphQL Subscription

  • Đồng bộ notify trên mọi thiết bị
  • Tự động phát hiện user hiện tại
type Notify {
    user: User!
    error: Boolean
    msg: String!
}

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.