{"id":15112178,"url":"https://github.com/samardzicnenad/flongo","last_synced_at":"2026-01-18T19:03:03.012Z","repository":{"id":70261153,"uuid":"52909296","full_name":"samardzicnenad/flongo","owner":"samardzicnenad","description":"A template application for the Python/Flask - MongoDB environment","archived":false,"fork":false,"pushed_at":"2017-03-30T20:56:58.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T18:14:08.135Z","etag":null,"topics":["docker-compose","flask","gunicorn","jinja2","libsass","mongo","nginx","python"],"latest_commit_sha":null,"homepage":"","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/samardzicnenad.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":"2016-03-01T20:54:41.000Z","updated_at":"2017-03-30T21:01:14.000Z","dependencies_parsed_at":"2023-04-11T20:33:10.108Z","dependency_job_id":null,"html_url":"https://github.com/samardzicnenad/flongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samardzicnenad/flongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samardzicnenad%2Fflongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samardzicnenad%2Fflongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samardzicnenad%2Fflongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samardzicnenad%2Fflongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samardzicnenad","download_url":"https://codeload.github.com/samardzicnenad/flongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samardzicnenad%2Fflongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28548950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T19:02:06.365Z","status":"ssl_error","status_checked_at":"2026-01-18T19:01:46.239Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker-compose","flask","gunicorn","jinja2","libsass","mongo","nginx","python"],"created_at":"2024-09-26T00:42:21.364Z","updated_at":"2026-01-18T19:03:02.995Z","avatar_url":"https://github.com/samardzicnenad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flongo\n## Description:\nFlongo is a \"template application\" for the Python/Flask - MongoDB environment.  \nIt also provides a simple user management system that serves the following API endpoints:\n- \u003cb\u003e/\u003c/b\u003e (it will redirect to /login or /index depending on the existence of the active user session)\n- \u003cb\u003e/signup\u003c/b\u003e\n- \u003cb\u003e/login\u003c/b\u003e\nand\n- \u003cb\u003e/index\u003c/b\u003e  \n\nThere is also an auxiliary endpoint:  \n- \u003cb\u003e/info\u003c/b\u003e  \n\nwhich is not actually a part of the project, but exists in order to provide additional info to the application users.\n\nOnce a user signs up and logs in, the session cookie is created and it is valid for 30 minutes\n\n## Usage:\nRunning\n\u003cpre\u003e\n$ docker-compose up\n\u003c/pre\u003e\ncommand will pull images and build, create, start and link the container instances for the services defined in the docker-compose.yml file, resulting in flongo application running on:\n\u003cpre\u003e\nhttp://0.0.0.0 (and/or http://0.0.0.0:80)\n\u003c/pre\u003e\n* docker-compose.yml defines three services that will get started and linked:\n  * flongo (python:2.7.12 with the following dependencies: flask, pymongo, libsass)\n  * nginx\n  * mongo (mongo:3.3.10)\n  \n## Data model specifics:\nThe application stores data in three collections:\n- users\n  - usernames and email addresses are unique\n- sessions\n  - the list of the most recent user sessions\n- past_sessions\n  - the list of the past user sessions\n\n## Additional elements:\nThe application uses:\n- Gunicorn - application server\n- Nginx - front end reverse proxy\n- Jinja2 - templating engine and\n- libsass - CSS preprocessor\n\n## Notes:\n- during the login and signup processes, non ascii characters will be ignored\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamardzicnenad%2Fflongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamardzicnenad%2Fflongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamardzicnenad%2Fflongo/lists"}