https://github.com/edgar-code-repository/node-express-movies-rest-api
Rest API developed with Node, Express and PostgreSQL.
https://github.com/edgar-code-repository/node-express-movies-rest-api
Last synced: over 1 year ago
JSON representation
Rest API developed with Node, Express and PostgreSQL.
- Host: GitHub
- URL: https://github.com/edgar-code-repository/node-express-movies-rest-api
- Owner: edgar-code-repository
- Created: 2019-09-29T02:17:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T01:26:09.000Z (over 5 years ago)
- Last Synced: 2025-01-23T04:29:33.466Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 744 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MOVIES REST API
------------------------------------------------------------------------------------------------------------
Rest API developed with Node and Express.
Libraries node-postgres and knex are used to connect and store data in a PostgreSQL database.
This app contains endpoints that allows to store data about movies and genres.
------------------------------------------------------------------------------------------------------------
Dependencies used by the app:
```
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"knex": "^0.19.5",
"pg": "^7.12.1"
},
"devDependencies": {
"nodemon": "^1.19.2"
}
```
------------------------------------------------------------------------------------------------------------
**Call to retrieve genres from Postman:**

------------------------------------------------------------------------------------------------------------
**Get call to retrive movies by genre from Postman:**

------------------------------------------------------------------------------------------------------------
**Get call to retrieve a movie by id from Postman:**

------------------------------------------------------------------------------------------------------------
**Post call to store a movie from Postman:**

------------------------------------------------------------------------------------------------------------