Navigation

    Vietnam

    Nodejs.vn

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Groups
    • Search
    1. Home
    2. xuanngo90
    X
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    xuanngo90

    @xuanngo90

    -1
    Reputation
    4
    Posts
    172
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    xuanngo90 Follow

    Best posts made by xuanngo90

    This user hasn't posted anything yet.

    Latest posts made by xuanngo90

    • RE: Kết nối cơ sở dữ liệu trong MEAN App

      à mình hiểu rồi, cám ơn bạn nhé, để học tiếp vậy, vì tính ra mình vẫn là newbie thôi 😄

      posted in AngularJS
      X
      xuanngo90
    • RE: Kết nối cơ sở dữ liệu trong MEAN App

      khi viết service cho 1 app angular2:
      Giả sử mình có cái api từ mockup như này:
      private apiUrl = "http://5938f61354f615001105aec5.mockapi.io/api/employees";

      bên dưới mình dùng hàm get như này:
      GetList(): Observable<any[]> {
      return this._http.get(this.apiUrl).map((response: Response) => response.json());
      };

      Vấn đề là hiện tại mình muốn thay cái link apiUrl trên bằng cái mongoDB chuyển qua Json thì phải làm sao?
      (*) trên mạng thì mình thấy hầu hết các link db của mongoDB có dạng 'mongodb://localhost:27017/myproject' thì mình connect tới như thế nào?

      posted in AngularJS
      X
      xuanngo90
    • RE: Kết nối cơ sở dữ liệu trong MEAN App

      trên mạng thì chỉ thấy cách dùng expressjs với mongodb chứ ko thấy cách viết trong angular2 - bằng 1 example cụ thể chẳng hạn

      posted in AngularJS
      X
      xuanngo90
    • Kết nối cơ sở dữ liệu trong MEAN App

      Hỏi về kết nối cũng như xuất dữ liệu với mongodb và angular2 (Nodejs), cũng như cách sử dụng expressJS trong dự án Angular2, cám ơn ạ.

      posted in AngularJS
      X
      xuanngo90