{"id":26151405,"url":"https://github.com/blueorionn/flask-booklist","last_synced_at":"2026-05-16T09:35:42.858Z","repository":{"id":281396205,"uuid":"944945271","full_name":"blueorionn/Flask-BookList","owner":"blueorionn","description":"BookList Collection Web Application.","archived":false,"fork":false,"pushed_at":"2025-09-09T05:40:17.000Z","size":1323,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T18:57:13.179Z","etag":null,"topics":["authentication","flask","flask-application"],"latest_commit_sha":null,"homepage":"","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/blueorionn.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,"zenodo":null}},"created_at":"2025-03-08T09:44:22.000Z","updated_at":"2025-09-09T05:40:20.000Z","dependencies_parsed_at":"2025-05-27T21:04:33.168Z","dependency_job_id":"aa1399d5-a5a4-433e-a4a6-b93f3be5bb84","html_url":"https://github.com/blueorionn/Flask-BookList","commit_stats":null,"previous_names":["blueorionn/flask-booklist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blueorionn/Flask-BookList","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueorionn%2FFlask-BookList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueorionn%2FFlask-BookList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueorionn%2FFlask-BookList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueorionn%2FFlask-BookList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blueorionn","download_url":"https://codeload.github.com/blueorionn/Flask-BookList/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueorionn%2FFlask-BookList/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33097040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["authentication","flask","flask-application"],"created_at":"2025-03-11T06:34:53.141Z","updated_at":"2026-05-16T09:35:42.853Z","avatar_url":"https://github.com/blueorionn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FLASK BOOKLIST\n\n![Cover Page](booklist/assets/cover.png)\n\nThis project is a Flask-based web application that explores session authentication and middleware. The backend handles user authentication using Flask sessions, enforcing secure login/logout mechanisms, and applying middleware for request validation and logging. This setup provides a structured way to learn about user authentication, middleware functions, and frontend asset management in a Flask environment.\n\n⚠️ This project is created solely for fun and learning\n\n## TechStack\n\n- Flask\n- Tailwindcss\n- MariaDB\n\n## Database Setup\n\nRequired a **MySQL/MariaDB** database local or cloud.\n\nCreate the movie table and load data as specified in the `data/books.sql` file.\n\n## User Creation\n\nTo create a user, use the script with the following options. **Before beginning, make sure to properly load all environment variables listed in the [Installation section](#installation).**\n\n```bash\npython scripts/register_user.py -fn [first_name] -ln [lastname] -u [username] -p [password] -r [role] \n```\n\n**Valid user roles are `admin` and `user`.**\n\n## Installation\n\n### Prerequisites\n\n- Python 3.11+\n- pip (Python package installer)\n- Nodejs\n- npm\n\n### Steps\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/blueorionn/Flask-BookList.git\n   cd Flask-BookList\n   ```\n\n2. Create and activate a virtual environment:\n\n   ```bash\n   python -m venv .venv\n   source .venv/bin/activate   # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install the dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Export variables:\n\n   ```bash\n   export PYTHONDONTWRITEBYTECODE=1\n   export FLASK_ENV=\"development\"\n   export SECRET_KEY=\"your-secret-key\"\n   export DB_HOST=\"your-database-host\"\n   export DB_NAME=\"your-database-name\"\n   export DB_USER=\"your-database-username\"\n   export DB_PASSWORD=\"your-database-password\"\n   export DB_PORT=\"your-database-port\"\n   ```\n\n5. Run the Flask app:\n\n   ```bash\n   python wsgi.py\n   ```\n\n6. Open the app in your browser at `http://127.0.0.1:8000/`.\n\n## License\n\nThis project is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueorionn%2Fflask-booklist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblueorionn%2Fflask-booklist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueorionn%2Fflask-booklist/lists"}