Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 849 Bytes

File metadata and controls

31 lines (24 loc) · 849 Bytes

Node.js ile Web Api

GÜNCELLENECEK!

Kurulum

Bu modülün kurulumu için öncelikle Node.js’in sistemde kurulu olması gerekiyor.

Paketler

Kullanılan paketleri terminalden kurmak için proje klasörü içerisinde şu komutları çalıştırınız:

npm install express
npm install mongoose
npm install dotenv 
npm install body-parser
npm install express-validator

Endpoints

HTTP URL METOT
GET https://localhost:3000/shippings Index
GET https://localhost:3000/shippings/id Show
GET https://localhost:3000/shippings/id/edit Show
POST https://localhost:3000/shippings Store
PUT https://localhost:3000/shippings/id Edit
DELETE https://localhost:3000/shippings/id Destroy

Ekran Görüntüleri