https://github.com/emnetdegafe/allesoverfilm-backend
AllesOverFilm-backend is part of the AllesOverFilm mobile app development project and contains the database structure, server query scripts, and Sequelize-cli database structures.
https://github.com/emnetdegafe/allesoverfilm-backend
backend data data-model express postgresql sequelize-cli
Last synced: 4 months ago
JSON representation
AllesOverFilm-backend is part of the AllesOverFilm mobile app development project and contains the database structure, server query scripts, and Sequelize-cli database structures.
- Host: GitHub
- URL: https://github.com/emnetdegafe/allesoverfilm-backend
- Owner: Emnetdegafe
- Created: 2020-07-21T13:12:53.000Z (almost 5 years ago)
- Default Branch: development
- Last Pushed: 2022-12-13T08:34:28.000Z (over 2 years ago)
- Last Synced: 2025-01-15T04:29:04.453Z (6 months ago)
- Topics: backend, data, data-model, express, postgresql, sequelize-cli
- Language: JavaScript
- Homepage:
- Size: 745 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# allesOverFilm-backend
This is a backend for [AllesOVerFilm-client](https://github.com/Emnetdegafe/allesOverFilm-client).
It contains postgress DB, query scrips, some seed data and others.# A few pointers
- index.js is the server script
- 2 router files price.js and review.js
- Data Base has 10 sample data/reviews extracted from the website and itś displayed on the homeScreen
- DATABASE_URL is in the .env file# endpoints
- Fetch prices - `http://localhost:4000/films/price/${eau}`
- Fetch a list of reviews - `http://localhost:4000/films`
- Fetch review detail - `http://localhost:4000/films/${id}`# DataStructure
