This project is about implemetation of Database, Orm and Restful API.
- cloudinary
- cookie-parser
- cors
- dotenv
- ejs
- express
- multer
- nodemon
- pg
- sequelize
- Install Library
npm i
- Create Database
npm run db:create
- Migrating the model
npm run db:migrate
- Using seeder
npm run db:seed
- Running Project on development
npm run dev
- Initial API | GET: http://{{host}}/
- Get All Car | GET: http://{{host}}/cars
- Upload A Car | POST: http://{{host}}/cars
- Get Car by Id | GET: http://{{host}}/cars/:id
- Delete A Car | DELETE: http://{{host}}/cars/:id
- Update A Car | PUT: http://{{host}}/cars/:id