{"id":28214101,"url":"https://github.com/vzool/fullstack-nanodegree-movie-trailer-website","last_synced_at":"2025-10-03T13:24:51.753Z","repository":{"id":29830276,"uuid":"33374865","full_name":"vzool/fullstack-nanodegree-movie-trailer-website","owner":"vzool","description":null,"archived":false,"fork":false,"pushed_at":"2015-04-03T21:26:15.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-11T20:50:26.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vzool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-03T17:40:19.000Z","updated_at":"2015-04-03T21:26:15.000Z","dependencies_parsed_at":"2022-09-07T00:51:10.031Z","dependency_job_id":null,"html_url":"https://github.com/vzool/fullstack-nanodegree-movie-trailer-website","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vzool/fullstack-nanodegree-movie-trailer-website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-movie-trailer-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-movie-trailer-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-movie-trailer-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-movie-trailer-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vzool","download_url":"https://codeload.github.com/vzool/fullstack-nanodegree-movie-trailer-website/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzool%2Ffullstack-nanodegree-movie-trailer-website/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231507,"owners_count":25245601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-17T20:12:15.063Z","updated_at":"2025-10-03T13:24:51.648Z","avatar_url":"https://github.com/vzool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Full-Stack Nanodegree Movie Trailer Website\n\nThis is a python application working as a web server which is serving my best Movies Trailer, I hope that we met in something interesting in common.\n\n## Application File Structure\n\nI organized the app files with consideration of isolation which is based on functionality.\n\n```\n\tapp.py\t\t(Server Startup File)\n\tapp\n\t|\n\t|- db \t\t(All App Data, ex: Movie Data)\n\t|- http \t(Website Root)\n\t|- lib \t\t(All App Library)\n\t|- model\t(All App Models)\n\t|- view\t\t(All App Views)\n\n```\n\n## What is Happening inside this App?\n\nWhen you run this command\n\n```\n\n$ python app.py\n\n```\n\nThe application will do its objective as following:\n\n1. Read Movie data from app.db.movie.\n2. Call fresh_tomatoes.open_movies_page.\n3. Then a file will be generated with name index.html at app/http directory.\n4. App will create A Thread to open website after deploy.\n5. WebServer will be started at app/http forever until you press CTRL + C.\n\nI use Thread because when you already start WebServer the app will be busy on serving HTTP requests on main Thread.\nSo, to solve this problem I create another Thread for anything I can do when main Thread is busy. \n\n\n## Instructions\n\nOur application is a client/server base.\n\nSo, you will run both of them to experiment this app.\n\n### Server side\n\nTo run this Web Application you will need to run app.py in command line as following:\n\n```\n\n$ python app.py\n\n```\n\nAfter that application server will open browser directly after deploy the system.\n\nApplication will run normal on port 13579, so if you want to change that port you can use this method:\n\n```\n$ python app.py PORT_NUMBER\n```\n\n\n### Client side\n\nTo run this application on the client side you need to run the server first then the app.py will automatically open an app with the default browser in your system.\nIf that never happened by any reason, open this url in your favorite browser:\n\n```\n\nhttp://127.0.0.1:13579\n\n```\n\n## Requirements\n\n### Server side\n\nYou need a Python 2.x language installed in your server system.\n\n### Client side\n\n\nTo run this Web Application you will need a browser which should be in specific versions that fully supports the JavaScript language, which those browsers and versions are:\n\n- Chrome: 4.0+\n- IE(Internet Explorer): 9.0+\n- Firefox: 2.0+\n- Safari: 3.1+\n- Opera: 9.0+\n\n## Licence\n\nIt's Completely Free. But, Do whatever you like to do on your own full responsibility;\n\nThis licence is known with [MIT License](http://vzool.mit-license.org/) in professional networks.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvzool%2Ffullstack-nanodegree-movie-trailer-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvzool%2Ffullstack-nanodegree-movie-trailer-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvzool%2Ffullstack-nanodegree-movie-trailer-website/lists"}