Skip to content

ramazansakin/node-express-postgresql-sequelize

 
 

Repository files navigation

Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API

This source code is part of Node.js, Express.js, Sequelize.js and PostgreSQL RESTful API tutorial.

To run locally:

  • Make sure you have install and run PostgreSQL server
  • Create database with the name same as in config file
  • Run npm install or yarn install
  • Run sequelize db:migrate
  • Run sequelize db:seed:all to feed databases via test datas(seeders)
  • Run sequelize db:seed:undo:all to remove all test datas
  • Run nodemon or npm start

Postman test samples

Get All Students

Get All Students

Get All Classrooms

Get All Classrooms

Get All Lecturers

Get All Lecturers

Get Lecturer ById

Get Lecturer ById

Create New Lecturer

Create New Lecturer

Update A Lecturer

Update A Lecturer

Delete A Lecturer

Delete A Lecturer

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • Dockerfile 1.2%
  • EJS 1.1%
  • CSS 0.4%