项目作者: Emnetdegafe

项目描述 :
AllesOverFilm-backend is part of the AllesOverFilm mobile app development project and contains the database structure, server query scripts, and Sequelize-cli database structures.
高级语言: JavaScript
项目地址: git://github.com/Emnetdegafe/allesOverFilm-backend.git
创建时间: 2020-07-21T13:12:53Z
项目社区:https://github.com/Emnetdegafe/allesOverFilm-backend

开源协议:

下载


allesOverFilm-backend

This is a backend for 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