Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

martinborek/viaplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viaplay movie database

Author: Martin Borek (mborekcz@gmail.com)

How to run

The application can be simply deployed with docker-compose. To build and run containers with MongoDB and web application, run: $ docker-compose up --build.

Web application is running at http://localhost/.

The application has a very simple frontend that is accessible at http://localhost/frontend/ Default movie entry can be added with http://localhost/add_default/

Backend

Backend provides an API that expects input in form of POST and GET requests, responding with JSON objects. API consists of:

  • Adding a movie: http://localhost/add/
  • Updating a movie: http://localhost/update/
  • Deleting a movie: http://localhost/delete/
  • Listing movies: http://localhost/list/
  • Showing a movie entry: http://localhost/view/
  • Showing all movies: http://localhost/view_all/

Technologies used

The application is written in Python3 using Flask framework and MongoDB. Advantage of these tools is their simplicity, allowing for easy development. All of them are yet very powerful.

Improvements

Since the functionality and especially the frontend are very basic, there is a lot of room for improvements. The application could include sorting, filtering, content rating and so on.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors