{"id":21359927,"url":"https://github.com/ujstor/web-flask-authen-database","last_synced_at":"2026-04-13T02:12:28.324Z","repository":{"id":161232884,"uuid":"621527420","full_name":"Ujstor/web-flask-authen-database","owner":"Ujstor","description":"Notes is a Flask-based web application featuring user login functionality and a SQLite database for note managemen","archived":false,"fork":false,"pushed_at":"2023-11-05T13:23:20.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T18:51:53.416Z","etag":null,"topics":["bootstrap","flask","python","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://notes-flask.astipan.com","language":"HTML","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/Ujstor.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}},"created_at":"2023-03-30T21:03:33.000Z","updated_at":"2023-12-09T02:36:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cde5e1f-c795-4148-9404-dae16e9f8d4f","html_url":"https://github.com/Ujstor/web-flask-authen-database","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/Ujstor%2Fweb-flask-authen-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fweb-flask-authen-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fweb-flask-authen-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fweb-flask-authen-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ujstor","download_url":"https://codeload.github.com/Ujstor/web-flask-authen-database/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835950,"owners_count":20355611,"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":["bootstrap","flask","python","sqlalchemy"],"created_at":"2024-11-22T05:30:47.801Z","updated_at":"2026-04-13T02:12:23.295Z","avatar_url":"https://github.com/Ujstor.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes - WebApp in Flask\n\n\u003cpre\u003e\nusername: test@mail.com\npassword: vAYAtdqww2Mjjwn\n\u003c/pre\u003e\n\n![expected output](https://i.imgur.com/NnkwjdM.png)\n\n![expected output](https://i.imgur.com/HAAwOoX.png)\n\n![expected output](https://i.imgur.com/9rFOYze.png)\n\u003cbr/\u003e\n\n## Running The App\n\n```bash\npython main.py\n```\n\n## Viewing The App\n\nGo to:\n`http://127.0.0.1:5010`\n\n## Docker\n\nTo build the Docker image from the code, run:\n\n```\ndocker compose -f .\\docker-compose-dev.yml up\n```\n\nIf you want to pull the image from the Docker repository instead, use:\n\n```\ndocker compose -f .\\docker-compose-prod.yml up\n```\n\nimage is automatically built and deployed through the Jenkins pipeline.\nApplication deployment can be achieved using docker-compose and hosting on the cloud self-hosting service provided by [Collify](https://coolify.io/). An open-source \u0026 self-hostable Heroku / Netlify alternative.\n\n\u003cbr/\u003e\n\n![](https://i.imgur.com/WVvnWzi.png)\n\n# Jenkins Pipeline\n\nThis Jenkins pipeline is designed to automate the continuous integration and deployment process. It consists of various stages that are executed based on specific conditions, primarily targeting the `master` branch. Here's a brief overview of the pipeline:\n\n1. **Agent Configuration**: The pipeline is configured to run on any available Jenkins agent.\n\n2. **Environment Variables**: Several environment variables are defined, including the Docker Hub username, Docker repository name, version part (e.g., Patch, Minor, Major), and an empty TAG variable for Docker image tagging.\n\n3. **Stages**:\n\n   - **Checkout Code**: This stage fetches the source code from a GitHub repository, specific to the `BRANCH_NAME`.\n\n   - **Generate Docker Image Tag**: This stage generates a Docker image tag based on the `BRANCH_NAME` and `VERSION_PART` when the branch is `master`. It executes a shell script and sets the generated tag to the `TAG` environment variable.\n\n   - **Build**: When the branch is `master`, this stage builds a Docker image with the previously generated tag.\n\n   - **Deploy**: Also targeting the `master` branch, this stage pushes the Docker image to the Docker Hub repository using the tag generated earlier.\n\n   - **Environment Cleanup**: This stage cleans up the Docker image with the generated tag after a successful deployment.\n\n4. **Post Actions**: After the pipeline is completed successfully, it prints a success message indicating the successful execution of the pipeline.\n\nThis pipeline facilitates the automation of building, tagging, and deploying a Docker image on the `master` branch. It's a part of a CI/CD process, ensuring that code changes are deployed consistently and reliably.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujstor%2Fweb-flask-authen-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujstor%2Fweb-flask-authen-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujstor%2Fweb-flask-authen-database/lists"}