Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiminzajnr/micro_blog
https://github.com/kiminzajnr/micro_blog
css flask html mongodb python3
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiminzajnr/micro_blog
- Owner: kiminzajnr
- License: mit
- Created: 2024-08-19T23:09:36.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-08-28T20:55:31.000Z (5 months ago)
- Last Synced: 2024-11-09T16:16:17.347Z (3 months ago)
- Topics: css, flask, html, mongodb, python3
- Language: HTML
- Homepage: https://microblog.discoverwitherick.tech/
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Micro_Blog
A simple microblogging application built using HTML, CSS, Python Flask, and MongoDB. The application allows users to keep track of everything they have learnt.
## Features
- Create Blog Entries
- View Blog Entries## Technologies Used
- **Frontend:** HTML, CSS
- **Backend:** Python Flask
- **Database:** MongoDB## Setup Instructions
### Prerequisites
- Python 3.x
- MongoDB
- pip### Installation
1. **Clone the repository:**
```bash
git clone https://github.com/kiminzajnr/Micro_Blog.git
cd Micro_Blog2. Create an environment
```
python3 -m venv .venv3. Activate the environment
```
. .venv/bin/activate4. **Install the required packages:**
```
pip install -r requirements.txt5. **Set up environment variables:**
Create a `.env` file in the root directory of the project and add your MongoDB connection string:
```
MONGODB_URI=your_mongodb_uri6. **Run the application:**
```
flask run7. **OR run with gunicorn:**
```
gunicorn -b 127.0.0.1:5000 "app:create_app()"The application will be available at http://127.0.0.1:5000/