{"id":25864276,"url":"https://github.com/eniompw/simplelogin","last_synced_at":"2026-04-10T21:48:09.846Z","repository":{"id":198028720,"uuid":"699923264","full_name":"eniompw/SimpleLogin","owner":"eniompw","description":"Barebones Login and Signup in Flask using SQLite","archived":false,"fork":false,"pushed_at":"2025-02-25T17:24:25.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T18:30:33.254Z","etag":null,"topics":["flask","flask-application","html","login","signup","sqlite3"],"latest_commit_sha":null,"homepage":"https://simple-login-tawny.vercel.app","language":"Python","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/eniompw.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":"2023-10-03T15:48:39.000Z","updated_at":"2025-02-25T17:24:29.000Z","dependencies_parsed_at":"2023-10-04T04:33:32.296Z","dependency_job_id":"cc5ebaf2-f4ec-48ee-b9a6-4a6c9e30ebf8","html_url":"https://github.com/eniompw/SimpleLogin","commit_stats":null,"previous_names":["eniompw/simpleloginsignup","eniompw/simplelogin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eniompw%2FSimpleLogin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eniompw%2FSimpleLogin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eniompw%2FSimpleLogin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eniompw%2FSimpleLogin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eniompw","download_url":"https://codeload.github.com/eniompw/SimpleLogin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444015,"owners_count":19963749,"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":["flask","flask-application","html","login","signup","sqlite3"],"created_at":"2025-03-02T00:37:49.037Z","updated_at":"2026-04-10T21:48:04.819Z","avatar_url":"https://github.com/eniompw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Flask Login Signup using SQLite\n* [Based on Flask Login](https://github.com/eniompw/FlaskLogin)\n\n## Overview\nThis is a simple web application built with Flask that demonstrates user authentication functionality (login and signup) using SQLite for data storage. The application allows users to create accounts and login with their credentials.\n\n## Features\n- User registration (signup)\n- User authentication (login)\n- SQLite database integration\n- Simple web interface\n\n## Code\n\n### app.py\n```python\nfrom flask import Flask, render_template, request\nimport sqlite3\n\napp = Flask(__name__)\n\n@app.route('/')\ndef login():\n\treturn render_template('login.html')\n\n@app.route('/signup')\ndef signup():\n\treturn render_template('signup.html')\n\n@app.route('/select', methods=['post'])\ndef select():\n    con = sqlite3.connect('login.db')\n    cur = con.cursor()\n    cur.execute(\"SELECT * FROM users WHERE username=? AND password=?\",\n                    (request.form['un'],request.form['pw']))\n    match = len(cur.fetchall())\n    con.close()\n    if match == 0:\n        return \"wrong username and password\"\n    else:\n        return \"welcome \" + request.form['un']\n\n@app.route('/insert', methods=['post'])\ndef insert():\n\tcon = sqlite3.connect(\"login.db\")\n\tcur = con.cursor()\n\tcur.execute(\"\"\" INSERT INTO users (username, password)\n\t\t\tVALUES (?, ?) \"\"\",\n\t\t\t(request.form['un'], request.form['pw']))\n\tcon.commit()\n\tcon.close()\n\treturn 'signup successful'\n```\n\n## How to Run\n1. Install the required dependencies from `requirements.txt`\n2. Make sure the database is created using `create_table.py`\n3. Run the Flask application using `python app.py`\n4. Access the application in your web browser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feniompw%2Fsimplelogin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feniompw%2Fsimplelogin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feniompw%2Fsimplelogin/lists"}