{"id":29798266,"url":"https://github.com/leodubosclard/netflex","last_synced_at":"2026-04-09T21:03:54.359Z","repository":{"id":119217085,"uuid":"465024724","full_name":"leodubosclard/NetFlex","owner":"leodubosclard","description":"A React application in order to recreate NetFlix and improve Web competencies","archived":false,"fork":false,"pushed_at":"2022-04-20T17:07:32.000Z","size":23333,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T11:39:14.849Z","etag":null,"topics":["expressjs","javascript","netflix","netflix-clone","netflix-clone-react","nodejs","react","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leodubosclard.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-01T19:13:49.000Z","updated_at":"2023-09-08T18:32:14.000Z","dependencies_parsed_at":"2023-04-30T08:25:45.454Z","dependency_job_id":null,"html_url":"https://github.com/leodubosclard/NetFlex","commit_stats":null,"previous_names":["leodubosclard/netflex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leodubosclard/NetFlex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodubosclard%2FNetFlex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodubosclard%2FNetFlex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodubosclard%2FNetFlex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodubosclard%2FNetFlex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leodubosclard","download_url":"https://codeload.github.com/leodubosclard/NetFlex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodubosclard%2FNetFlex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267477212,"owners_count":24093696,"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-07-28T02:00:09.689Z","response_time":68,"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":["expressjs","javascript","netflix","netflix-clone","netflix-clone-react","nodejs","react","reactjs"],"created_at":"2025-07-28T07:15:04.802Z","updated_at":"2026-04-09T21:03:54.262Z","avatar_url":"https://github.com/leodubosclard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetFlex\n\n## Description\nRecreate a web application like Netflix to train and learn soft / web level technologies\n\n## Technologies utilisées\n- Docker (deployement) :\n\t- docker-compose\n\t- Dockerfile\n- Postman (API tests)\n\n### Frontend\n- ReactJS\n- HTML\n- CSS\n- JavaScript\n- TailwindCSS\n\n### Backend\n- NodeJS\n- JavaScript\n- ExpressJS\n\n### Base de données\n- MariaDB\n- PhpMyAdmin\n- SQL\n\n## Schema base de donnée\n*netflex.sql :*\n```sql\nCREATE DATABASE IF NOT EXISTS netflex\n    COLLATE utf8mb4_unicode_ci;\n\nUSE netflex;\n\nCREATE TABLE IF NOT EXISTS user\n(\n    id BIGINT unsigned NOT NULL AUTO_INCREMENT,\n    firstname VARCHAR(255) NOT NULL,\n    name VARCHAR(255) NOT NULL,\n    nickname VARCHAR(255) UNIQUE,\n    email VARCHAR(255) UNIQUE,\n    password VARCHAR(255) NOT NULL,\n    create_at DATETIME NOT NULL DEFAULT current_timestamp,\n    image_url TEXT NOT NULL DEFAULT \"https://cdn-icons-png.flaticon.com/512/5089/5089983.png\",\n    PRIMARY KEY (id)\n);\n\nCREATE TABLE IF NOT EXISTS films\n(\n    id BIGINT unsigned NOT NULL AUTO_INCREMENT,\n    show_id VARCHAR(255) UNIQUE,\n    type VARCHAR(255) NOT NULL,\n    title VARCHAR(255) NOT NULL,\n    director VARCHAR(255),\n    cast text,\n    country VARCHAR(100) NOT NULL,\n    date_added DATETIME NOT NULL,\n    release_year VARCHAR(4) NOT NULL,\n    rating VARCHAR(5) NOT NULL,\n    duration VARCHAR(10) NOT NULL,\n    listed_in VARCHAR(100) NOT NULL,\n    description text NOT NULL,\n    picture text NOT NULL,\n    PRIMARY KEY (id)\n);\n\nCREATE TABLE IF NOT EXISTS logs\n(\n    id BIGINT unsigned NOT NULL AUTO_INCREMENT,\n    user_email VARCHAR(255) NOT NULL,\n    connected_at DATETIME NOT NULL DEFAULT current_timestamp,\n    user_agent VARCHAR(255) NOT NULL,\n    navigateur VARCHAR(255) NOT NULL,\n    platform VARCHAR(255) NOT NULL,\n    language VARCHAR(255) NOT NULL,\n    encoding VARCHAR(255) NOT NULL,\n    is_on_mobile BOOLEAN NOT NULL DEFAULT false,\n    ip_address VARCHAR(255) NOT NULL,\n    country VARCHAR(255) NOT NULL,\n    PRIMARY KEY (id)\n);\n```\n\n## Installation\n\nTo install NetFlex at home, please follow the instructions bellow at the root of the project (The docker-compose is not yet functional):\n\n**Attention : If you are lazy just run the *``installation.sh``* script at the root of the project. Then refer to the *Quickstart* part**\n\n```bash\ncat netflex.sql | mysql -u root -p\n```\n\n```bash\ncd backend\nnode json_to_db.js\nnpm install\n```\n\n```bash\ncd frontend\nnpm install\n```\n\n## Quickstart\nAlways at the root of the project, start the API (in a first terminal) :\n```bash\ncd backend\nnpm run start\n```\nor (if you use Nodemon) :\n```bash\ncd backend\nnpm run dev\n```\nThen, start the React application :\n```bash\ncd frontend\nnpm start\n```\n\nReact will automatically redirect you to the home page of the website (localhost:3000)\n\n## Routes Backend *(en développement)*\n|Route|Method|Protected|Description|\n|-----|------|---------|-----------|\n|/register|POST|NO|Register a new user|\n|/login|POST|NO|Connect a user|\n||||\n|/films|GET|YES|Get **all** movies and tv shows in the database|\n|/films/type|POST|YES|Get **10** movies or tv shows depending on type given in the request body|\n|/films/:id|GET|YES|Get a film by its ID|\n|/films/browse|POST|YES|Get films by keywords search|\n||||\n|/user|GET|YES|Get user information using his Token|\n|/user|DELETE|YES|Delete user using his Token|\n|/user/profile_image|PUT|YES|Change user profile picture using an image url and his token|\n\n## Features Frontend *(in development)*\n\n\u003cdetails\u003e\n\t\u003csummary\u003eHome page (not connected)\u003c/summary\u003e\n\t\n![Home Not Logged In](assets/home_not_logged_in.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eHome page (connected)\u003c/summary\u003e\n\n![Home Logged In](assets/home_logged_in.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eLogin page\u003c/summary\u003e\n\n![Login](assets/login.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eRegister page\u003c/summary\u003e\n\n![Register](assets/register.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eAccount settings (base)\u003c/summary\u003e\n\n![AccountBasics](assets/account_basics.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eAccount settings (profile picture choice)\u003c/summary\u003e\n\n![AccountPP](assets/account_pp.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eAccount settings (delete account)\u003c/summary\u003e\n\n![AccountDeleteModal](assets/account_delete_modal.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eMovies page\u003c/summary\u003e\n\n![Movies](assets/movies.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eTV-Shows page\u003c/summary\u003e\n\n![TV Shows](assets/tvshows.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003eSearch results page\u003c/summary\u003e\n\n![Search](assets/search_bar.png)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\t\u003csummary\u003e404 page\u003c/summary\u003e\n\n![404](assets/landing.png)\n\u003c/details\u003e\n\n# Mainteners\n- [Léo Dubosclard](https://www.github.com/ZerLock)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleodubosclard%2Fnetflex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleodubosclard%2Fnetflex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleodubosclard%2Fnetflex/lists"}