GÜNCELLENECEK!
Bu modülün kurulumu için öncelikle Node.js’in sistemde kurulu olması gerekiyor.
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
| 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 |