Navigation

    Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Groups
    3. Node.js

    Group Details

    Node.js

    Member List

    S sudo
    dev_lak dev_lak
    ciaompe ciaompe
    Thevindu Senanayake Thevindu Senanayake
    Ayesh Dulanja Ayesh Dulanja
    dilanSuraj dilanSuraj
    Movindu-tb Movindu-tb
    X Xenon
    lkdev lkdev
    Zahra Nalir Zahra Nalir
    SachithAnu SachithAnu
    I ishan m herath
    Dhanuka Dhanuka
    gim kelum gim kelum
    Rukshan Nuwan Rukshan Nuwan
    Nano Nano
    L LahiruDevRavan
    J jithmi
    Pasindu_7 Pasindu_7
    Sahan Kaushalya Sahan Kaushalya
    • RE: Golang: Beego vs Revel. How to Choose?

      if you a nodejs express developer go for Fiber

      posted in Web Development
      root
      root
    • Golang: Beego vs Revel. How to Choose?

      Golang: Beego vs Revel. How to Choose?

      what is the best golang framework ? for API

      posted in Web Development
      Nubelle
      Nubelle
    • RE: How to reconnect next.js localhost

      npm run start

      posted in General Discussion
      Nubelle
      Nubelle
    • RE: How to reconnect next.js localhost

      npm run dev

      posted in General Discussion
      root
      root
    • RE: SOAP VS REST API

      @root rest is modern and best

      posted in Back-End Development
      Nubelle
      Nubelle
    • RE: SOAP VS REST API

      what is the best ?

      posted in Back-End Development
      root
      root
    • SOAP VS REST API

      SOAP (Simple Object Access Protocol) and REST (Representational State Transfer) are two different types of web service protocols used for exchanging data between two systems. Here are some differences between the two:

      Architecture

      • SOAP is an XML-based protocol that follows a strict messaging format and has a formal contract (WSDL) for defining the interface between the client and the server.

      • REST is an architectural style that uses HTTP methods (GET, POST, PUT, DELETE) to access and manipulate resources.

      Data format:

      • SOAP messages are always XML-based and use a schema to define the structure of the data being transmitted.

      • RESTful APIs support multiple data formats including XML, JSON, YAML, and others.

      Endpoint

      • In SOAP, each endpoint has a unique URL that is used to access the service.

      • In REST, each resource has a unique URL that is used to access it.

      Performance

      • SOAP is considered to be slower and more complex than REST due to its use of XML and the additional processing required for parsing the messages.

      • REST is generally faster and simpler due to its lightweight nature and use of standard HTTP methods.

      Security

      • SOAP has built-in security features such as WS-Security that provide a high level of security.

      • REST does not have built-in security features but relies on SSL/TLS encryption for secure communication.

      In summary, SOAP is a more structured and formal protocol, while REST is a more flexible and lightweight approach to web services. The choice between the two largely depends on the specific requirements of the application being developed.

      posted in Back-End Development
      Nubelle
      Nubelle
    • RE: How to fix $supabase does not exist on type in NUXTJS

      @nubelle Thanks man it works

      posted in Front-End Development
      root
      root
    • RE: How to fix $supabase does not exist on type in NUXTJS

      You have to define a type.

      example :

      data(){
            return {
              $supabase :(this as any).$supabase,
            }
          },
      
      posted in Front-End Development
      Nubelle
      Nubelle
    • How to fix $supabase does not exist on type in NUXTJS

      I'm getting this error when i access my $supabase nuxt plugin in pages/index.vue

      a4fae784-06fc-4828-8262-c642e21aec0f-image.png

      ~/plugins/supabase.js

          import {createClient} from '@supabase/supabase-js'
      
          export default ({ app },inject) => {
              
              const supabaseUrl = app.$config.supabaseUrl
              const supabaseKey = app.$config.supabaseApi
      
              const supabase = createClient(supabaseUrl, supabaseKey)
      
              inject('supabase', supabase)
          }
      

      i loaded plugin in nuxt config

      plugins: [
          {src: '~/plugins/supabase.js', mode : 'client'}
        ],
      

      Anyone can help to fix this issue, i use typescript with nuxtjs

      posted in Front-End Development
      root
      root