{"id":18469568,"url":"https://github.com/miteshsharma/contentapi","last_synced_at":"2025-06-29T18:04:58.677Z","repository":{"id":109598142,"uuid":"101389715","full_name":"MiteshSharma/ContentApi","owner":"MiteshSharma","description":"Content api is backend as a service which support both static and dynamic content written in java using Play Framework.","archived":false,"fork":false,"pushed_at":"2017-08-25T15:40:34.000Z","size":1130,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T22:59:18.991Z","etag":null,"topics":["java","mongodb","playframework"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/MiteshSharma.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-25T09:40:05.000Z","updated_at":"2017-08-25T19:21:42.000Z","dependencies_parsed_at":"2023-04-26T13:33:45.587Z","dependency_job_id":null,"html_url":"https://github.com/MiteshSharma/ContentApi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MiteshSharma/ContentApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FContentApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FContentApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FContentApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FContentApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiteshSharma","download_url":"https://codeload.github.com/MiteshSharma/ContentApi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiteshSharma%2FContentApi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262642954,"owners_count":23341817,"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","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":["java","mongodb","playframework"],"created_at":"2024-11-06T10:10:54.634Z","updated_at":"2025-06-29T18:04:58.655Z","avatar_url":"https://github.com/MiteshSharma.png","language":"Java","readme":"Content API\n=================================\n\nThis is a web service which backend as a service which support both static and dynamic content written in java using Play Framework.\nIn this service, we can create any collection, define its properties with constraints. During adding content in collection, validation is done to make sure right content is going in system. Content can be added dynamically using REST Apis and fetched by providing right auth token.\nNo UI is added in this code as i didn't have all rights to do that.\n\nHow to run this:\n=================================\n\nStep 1: Clone this project using : git clone https://github.com/MiteshSharma/ContentApi.git\n\nStep 2: Go to folder ContentApi which is created after cloing project.\n\nStep 3: Run ./activator clean compile to compile project. You can find any compilation errors if any. This is an optional step.\n\nStep 4: Run ./activator run to run this project. Default port is 9000 on this this web service will run.\n\nStep 5: Go to browser or terminal to check for http://localhost:9000 host port. If this runs successfully, this means project is running properly.\n\nStep 6: If you want to deploy this on production and want to create a distribution file then run: ./activator dist\n\nNo UI code is added to this code as not had all rights to open source it. Although i used angularjs for this project.\n\nDatabase used:\n=================================\nMongo database is used in this project, as it is flexible and any number of columns can be added in it dynamically. If needed any different database can code can be used just by changing code in repository folder. We are using one master and one shard database for better manageability of content, whose configration can be updated in conf/application.conf file.\n\nMedia Upload\n================================\nMedia upload is being done on S3. Right aws configration can be added in conf/application.conf file.\n\nPlay Framework:\n=================================\nPlay framework tutorial for better understanding : https://www.slideshare.net/mitesh_sharma/play-framework-a-walkthrough \n\nVideo (ContentApi backend with frontend)\n=================================\n![Contet API web server](https://img.youtube.com/vi/UKPuEffJJ1A/0.jpg)\n\nClick Here to view video : https://youtu.be/UKPuEffJJ1A\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiteshsharma%2Fcontentapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiteshsharma%2Fcontentapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiteshsharma%2Fcontentapi/lists"}