{"id":26235666,"url":"https://github.com/dxtaner/nodejs-movie-api-app","last_synced_at":"2026-04-05T23:04:34.857Z","repository":{"id":250066276,"uuid":"774994246","full_name":"dxtaner/nodejs-movie-api-app","owner":"dxtaner","description":"Moive Api App","archived":false,"fork":false,"pushed_at":"2024-12-03T10:35:32.000Z","size":154,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T03:17:08.108Z","etag":null,"topics":["bcryptjs","cookie-parser","express","jsonwebtoken","mongoose","morgan","movies-api","path"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dxtaner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-20T15:16:38.000Z","updated_at":"2024-10-05T08:28:59.000Z","dependencies_parsed_at":"2024-07-25T01:44:39.501Z","dependency_job_id":"a185e829-9491-4eb5-aaa2-23edbe76be72","html_url":"https://github.com/dxtaner/nodejs-movie-api-app","commit_stats":null,"previous_names":["dxtaner/nodejs-movie-api-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dxtaner/nodejs-movie-api-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2Fnodejs-movie-api-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2Fnodejs-movie-api-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2Fnodejs-movie-api-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2Fnodejs-movie-api-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxtaner","download_url":"https://codeload.github.com/dxtaner/nodejs-movie-api-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2Fnodejs-movie-api-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274218088,"owners_count":25243357,"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":["bcryptjs","cookie-parser","express","jsonwebtoken","mongoose","morgan","movies-api","path"],"created_at":"2025-03-13T03:17:09.814Z","updated_at":"2025-12-30T21:27:38.354Z","avatar_url":"https://github.com/dxtaner.png","language":"JavaScript","readme":"\nNode.js Movie API Application\n=============================\n\nThis project provides a basic structure for creating a Node.js application. This application serves as an API for performing basic functions related to movies and directors.\n\nGetting Started\n---------------\n\n### Prerequisites\n\nTo run this project, you'll need the following software and tools:\n\n*   Node.js\n*   npm or Yarn\n*   A database (e.g., MongoDB)\n\n### Installation\n\n1.  Clone the project:\n\n    git clone https://github.com/dxtaner/nodejs-movie-api-app.git\n\n3.  Navigate to the project directory:\n\n    cd nodejs-movie-api-app\n\n5.  Install dependencies:\n\n    npm install\n    # or\n    yarn install\n\n7.  Configure the database connection:\n\nYou'll need a MongoDB database to run the project. Configure your database connection settings in the `config.js` file.\n\n9.  Start the application:\n\n    npm start\n    # or\n    yarn start\n\nOr, to start in development mode:\n\n    npm run dev\n    # or\n    yarn dev\n\n13.  View the application in your browser at [http://localhost:3000](http://localhost:3000).\n\nAPI Endpoints\n-------------\n\nList of available API endpoints and their descriptions.\n\n### Users\n\n- `GET /api/users`: Home route.\n- `POST /api/users/register`: Register a new user.\n- `POST /api/users/authenticate`: Authenticate a user.\n\n\n### Directors\n\n- `POST /api/directors`: Add a new director.\n- `POST /api/directors/addDirectorToMovie/:movieId/:directorId`: Add a director to a movie.\n- `GET /api/directors`: Get all directors.\n- `GET /api/directors/:director_id`: Get director by ID.\n- `PUT /api/directors/:director_id`: Update director by ID.\n- `DELETE /api/directors/:director_id`: Delete director by ID.\n- `GET /api/directors/:director_id/best10movie`: Get 10 best movies directed by a director.\n\n\n### Movies\n\n- `GET /api/movies`: Get all movies.\n- `GET /api/movies/top10`: Get top 10 movies.\n- `GET /api/movies/:movie_id`: Get movie by ID.\n- `PUT /api/movies/:movie_id`: Update movie by ID.\n- `DELETE /api/movies/:movie_id`: Delete movie by ID.\n- `POST /api/movies`: Add a new movie.\n- `GET /api/movies/between/:start_year/:end_year`: Get movies released between two years.\n\n\n\n\nUsage\n-----\n\nYou can manage movies and directors using the API. Refer to the documentation in the `routes` folder for more information about API routes.\n\nContributing\n------------\n\nContributions are welcome! Feel free to share any issues or feedback in the [issues](https://github.com/dxtaner/nodejs-movie-api-app/issues) section or submit a pull request.\n\nLicense\n-------\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxtaner%2Fnodejs-movie-api-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxtaner%2Fnodejs-movie-api-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxtaner%2Fnodejs-movie-api-app/lists"}