Node.js Kullanımı
Node.js Nedir?
Node.js, Chrome V8 motoruna dayanan bir JavaScript çalışma zamanıdır. Olay odaklı, engelleyici olmayan I/O modelini kullanır, bu da onu hafif ve verimli kılar. Node.js'in paket yöneticisi npm, dünyanın en büyük açık kaynaklı paket ekosistemlerinden biridir.
ServBay'in Node.js Desteği
ServBay, projenizin gereksinimlerine göre uygun Node.js sürümünü seçip geliştirmenize ve dağıtımınıza olanak tanıyan birçok Node.js sürümüne destek sağlar. İşte ServBay'in desteklediği bazı yaygın Node.js sürümleri:
- Node.js 12.x
- Node.js 13.x
- Node.js 14.x
- Node.js 15.x
- Node.js 16.x
- Node.js 17.x
- Node.js 18.x
- Node.js 19.x
- Node.js 20.x
- Node.js 21.x
- Node.js 22.x
Bu sürümler uzun süreli destek (LTS) sürümleri ve en güncel sürümleri kapsayarak, en uygun sürümü seçerek geliştirme yapmanıza olanak tanır.
Kurulum Yöntemi
ServBay'in GUI panelini kullanarak Node.js'i kolayca kurabilir ve yönetebilirsiniz. İşte ServBay GUI paneli kullanarak Node.js'i kurma adımları:
- ServBay GUI panelini açın.
Servisler
bölümüne gidin.- İhtiyacınız olan Node.js sürümünü seçin.
- Yeşil
Kur
düğmesine tıklayın ve kurulumun tamamlanmasını bekleyin.
Dahili Modüller
ServBay, Node.js projelerinizin bağımlılıklarını yönetmenizi kolaylaştıracak çeşitli paket yöneticileri sağlar:
- npm (Node Package Manager): Varsayılan Node.js paket yöneticisi ve en yaygın kullanılanıdır.
- pnpm: Disk alanını koruyan ve kurulum hızını artıran verimli bir paket yöneticisidir.
- yarn: Facebook tarafından geliştirilen bir paket yöneticisi olup, kararlı ve verimli bir bağımlılık yönetimi sunar.
Node.js Paket Yöneticilerinin Etkinleştirilmesi
ServBay ortamında, bu paket yöneticilerini şu şekilde etkinleştirebilirsiniz:
- npm: Varsayılan olarak kurulu ve etkin, ek bir yapılandırma gerekmez.
- pnpm: Varsayılan olarak kurulu ve etkin, ek bir yapılandırma gerekmez.
- yarn: Varsayılan olarak kurulu ve etkin, ek bir yapılandırma gerekmez.
Detaylı kullanım kılavuzlarına aşağıdaki bağlantılardan ulaşabilirsiniz:
Kullanım Kılavuzu
ServBay, Node.js çerçevelerini kullanma konusunda çeşitli öğreticiler sunar ve bu öğreticiler hem ön uç hem de arka uç geliştirmeyi kapsar. İşte bazı yaygın çerçevelerin kullanım kılavuzları:
Ön Uç Çerçeveleri
- Vue.js: Kullanıcı arayüzleri oluşturmak için kullanılan ilerlemeli JavaScript çerçevesi. Detaylı öğrenmek için Vue.js Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- React: Kullanıcı arayüzleri oluşturmak için kullanılan JavaScript kütüphanesi. Detaylı öğrenmek için React Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- Angular: Dinamik web uygulamaları oluşturmak için kullanılan çerçeve. Detaylı öğrenmek için Angular Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- Next.js: Sunucu tarafından render edilen React uygulamaları oluşturmak için kullanılan çerçeve. Detaylı öğrenmek için Next.js Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- Nuxt.js: Sunucu tarafından render edilen Vue.js uygulamaları oluşturmak için kullanılan çerçeve. Detaylı öğrenmek için Nuxt.js Projesi Oluşturma ve Çalıştırma dökümanına bakın.
Arka Uç Çerçeveleri
- Express.js: Basit ve esnek bir Node.js web uygulama çerçevesi. Detaylı öğrenmek için Hapi.js Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- Koa.js: Express ekibi tarafından geliştirilen yeni nesil Node.js çerçevesi. Detaylı öğrenmek için Koa.js Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- NestJS: Yüksek verimli ve ölçeklenebilir sunucu tarafı uygulamaları oluşturmak için kullanılan çerçeve. Detaylı öğrenmek için NestJS Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- Hapi.js: Uygulama ve hizmet oluşturmak için güçlü ve esnek bir çerçeve. Detaylı öğrenmek için Hapi.js Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- LoopBack: API ve mikro hizmetler oluşturmak için kullanılan oldukça genişletilebilir bir Node.js çerçevesi. Detaylı öğrenmek için LoopBack Projesi Oluşturma ve Çalıştırma dökümanına bakın.
- Socket.io: Gerçek zamanlı iki yönlü olay tabanlı iletişim için kullanılan JavaScript kütüphanesi. Detaylı öğrenmek için Socket.io Projesi Oluşturma ve Çalıştırma dökümanına bakın.
Bu öğreticiler sayesinde, ServBay'in sunduğu olanakları kullanarak bu popüler çerçeveleri hızlıca öğrenebilir ve kullanabilirsiniz.