Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 days 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.

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

![Data Structure](https://github.com/Emnetdegafe/allesOverFilm-backend/blob/development/config/DataStracture.png)