A fully functioning CRUD application with PostgreSQL, Node.js and Express.js.
- Clone the repo
git clone https://github.com/akglbahadr/students-project.git - Install NPM packages
npm install
Run the command to start the app with nodemon
npm run start-dev
GET /api/students
GET /api/students/id
POST /api/students
PUT /api/students/id
DELETE /api/students/id
Request Payload
Sample request:
{
"name": "Bahadir Furkan Akgul",
"email": "akgl.bahadr@gmail.com",
"age": 26,
"dob": "1995-08-24T21:00:00.000Z"
}
PUT Only allows you to update the name.