{"id":22427351,"url":"https://github.com/supwr/anchor-loans-test-api","last_synced_at":"2026-04-11T13:10:39.767Z","repository":{"id":104606671,"uuid":"184535276","full_name":"supwr/anchor-loans-test-api","owner":"supwr","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-02T07:43:01.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T11:41:45.820Z","etag":null,"topics":["boto3","docker","docker-compose","flask","jwt","mongodb","python","python36"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/supwr.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}},"created_at":"2019-05-02T06:58:08.000Z","updated_at":"2019-05-03T13:31:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e14b9e2a-7665-4d7c-a944-06cdb1977dab","html_url":"https://github.com/supwr/anchor-loans-test-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supwr%2Fanchor-loans-test-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supwr%2Fanchor-loans-test-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supwr%2Fanchor-loans-test-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supwr%2Fanchor-loans-test-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supwr","download_url":"https://codeload.github.com/supwr/anchor-loans-test-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245798518,"owners_count":20673901,"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":["boto3","docker","docker-compose","flask","jwt","mongodb","python","python36"],"created_at":"2024-12-05T20:11:34.099Z","updated_at":"2025-12-30T23:23:13.216Z","avatar_url":"https://github.com/supwr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Wedding Gallery\n\nThis project was developed using docker, python 3 and Ionic PWA(for the frontend).\nFlask framework was chosen for the task because of the ease to configure and get a robust application available.\nThe use of Flask, along with Mongo and JWT, allow the application to scale horizontally with no greater headaches.\nThe application was deployed to Digital Ocean, using Docker.\n\n\n### The intention behind the application\n\n\n\u003eYou got a request from a friend to create a gallery for his weeding where his \n\u003efriends will be able to upload their photos and he`ll have a unified gallery with \n\u003eall friend's photos.\n\u003eHe wants to be able to approve the the photos before be visible to everyone. He \n\u003eand his wife should be the only one able to approve new photos.\n\u003eUsers must be able to like photos.\n\u003eUsers should be able to sort the photos by total of likes or by date taken.\n\n\u003ePlease create a website that supply their needs. The photos must be saved on  \n\u003eAmazon AWS S3 and the gallery must be fast to open even if there many photos.\n\n### Running the application\n\nInside the root folder, clone the frontend code, in order to have all the containers with their respective codes:\n\n```git clone https://github.com/supwr/anchor-loans-test-front.git wedding-gallery-front```\n\nIn order to get the files to the right S3 bucket, you need to change the env variables present in the docker-compose.yml:\n\n```sh\n- AWS_ACCESS_KEY_ID=YOUR_AWS_ACCOUNT_ACCESS_KEY_ID\n- AWS_SECRET_ACCESS_KEY=YOUR_AWS_ACCOUNT__ACCESS_KEY_ID\n```\n\nA Postman collection is present at the root folder, so you can test all the requests.\n\nThen, execute docker-compose to get all the containers up and running:\n\n```docker-compsose up -d --build```\n\nAt this point, you should have 3 containers running:\n- A MongoDB server;\n- A Nginx container serving the frontend;\n- A Nginx container serving the backend;\n\n\n\n### TODO\n\n- Validation of file types, allowing only images to be uploaded;\n- Ordering by likes or date;\n- Unit Tests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupwr%2Fanchor-loans-test-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupwr%2Fanchor-loans-test-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupwr%2Fanchor-loans-test-api/lists"}