{"id":19793006,"url":"https://github.com/hit07/flask-blog-app","last_synced_at":"2025-02-28T09:48:55.531Z","repository":{"id":242483785,"uuid":"806426687","full_name":"Hit07/Flask-Blog-App","owner":"Hit07","description":"Responsive blog application that uses HTML and CSS for the front end and Bootstrap 5 to enhance the website's aesthetic appeal. For the backend, it utilises Python with Flask and stores blog posts in a database using SQLAlchemy. Later its deployed using Gunicorn web server using render.com as hosting service","archived":false,"fork":false,"pushed_at":"2024-06-09T14:39:36.000Z","size":8873,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T04:33:17.598Z","etag":null,"topics":["css","flask","flask-api","flask-sqlalchemy","gunicorn","html-css-javascript","javascript","python3","wsgi-server"],"latest_commit_sha":null,"homepage":"https://flask-blog-app-1-owao.onrender.com","language":"CSS","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/Hit07.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":"2024-05-27T07:17:56.000Z","updated_at":"2024-06-25T06:59:15.000Z","dependencies_parsed_at":"2025-01-11T12:30:48.143Z","dependency_job_id":null,"html_url":"https://github.com/Hit07/Flask-Blog-App","commit_stats":null,"previous_names":["hit07/blog--responsive","hit07/blog-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-Blog-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-Blog-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-Blog-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hit07%2FFlask-Blog-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hit07","download_url":"https://codeload.github.com/Hit07/Flask-Blog-App/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241133060,"owners_count":19915322,"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":["css","flask","flask-api","flask-sqlalchemy","gunicorn","html-css-javascript","javascript","python3","wsgi-server"],"created_at":"2024-11-12T07:08:36.406Z","updated_at":"2025-02-28T09:48:55.510Z","avatar_url":"https://github.com/Hit07.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Blog Application\n\nThis is a simple blog application built with Flask, SQLAlchemy, and other modern web technologies. Users can register, log in, create posts, and comment on posts. Admin users have the ability to edit and delete posts.\n\n## Features\n\n- User registration and authentication\n- Create, edit, and delete blog posts\n- Add and display comments on blog posts\n- Admin-only privileges for editing and deleting posts\n- Gravatar integration for user avatars\n- CKEditor integration for rich text editing\n\n## Getting Started\n\nThese instructions will help you set up the project on your local machine for development and testing purposes.\n\n### Prerequisites\n\n- Python 3.8 or higher\n- Flask\n- SQLAlchemy\n- Flask-Login\n- Flask-WTF\n- Flask-Bootstrap\n- Flask-CKEditor\n\n### Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/yourusername/flask-blog.git\n    cd flask-blog\n    ```\n\n2. Create a virtual environment:\n    ```sh\n    python3 -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. Install the required packages:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n4. Set up the database:\n    ```sh\n    flask db init\n    flask db migrate\n    flask db upgrade\n    ```\n\n5. Run the application:\n    ```sh\n    flask run\n    ```\n\n### Configuration\n\nBefore running the application, make sure to configure your environment variables. Create a `.env` file in the root directory of your project with the following content:\n\n```env\nFLASK_APP=main.py\nFLASK_ENV=development\nSECRET_KEY=your_secret_key\nSQLALCHEMY_DATABASE_URI=sqlite:///blog_posts.db\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhit07%2Fflask-blog-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhit07%2Fflask-blog-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhit07%2Fflask-blog-app/lists"}