Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thefcraft/mediumclone
A simple Medium clone built using Flask.
https://github.com/thefcraft/mediumclone
blog flask flask-sqlalchemy medium-clone postgresql postgresql-database postgresql-flask python
Last synced: 7 days ago
JSON representation
A simple Medium clone built using Flask.
- Host: GitHub
- URL: https://github.com/thefcraft/mediumclone
- Owner: thefcraft
- Created: 2024-01-27T07:57:49.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T16:14:05.000Z (8 months ago)
- Last Synced: 2024-03-20T17:37:49.703Z (8 months ago)
- Topics: blog, flask, flask-sqlalchemy, medium-clone, postgresql, postgresql-database, postgresql-flask, python
- Language: HTML
- Homepage: https://mediumclone-uzmf.onrender.com
- Size: 5.09 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Medium Clone
A Medium clone website built using Flask, PostgreSQL, [flask_pgsql](https://github.com/thefcraft/flask_postgresql), and Flask-Login.
[Live Demo](https://mediumclone-uzmf.onrender.com/)
## TODO
At this time for login username and email are same and code(otp) is just password for login## Features
- **User Authentication:** Users can sign up, log in, and log out securely using Flask-Login.
- **Blog Post Creation:** Authenticated users can create, edit, and delete their own blog posts.
- **Browse and Read Articles:** Users can browse through a list of articles and read them.
- **Responsive Design:** The website is designed to be responsive and accessible on various devices.## Technologies Used
- **Flask:** A lightweight web framework for Python.
- **PostgreSQL:** A powerful open-source relational database management system.
- **Flask-Login:** Provides user session management for Flask applications.
- **Flask-PGSQL:** My custom API framework for PostgreSQL interactions.## Setup
1. **Clone the repository:**
```bash
git clone https://github.com/thefcraft/mediumClone.git
cd medium-clone
```2. **Create a virtual environment:**
```bash
python -m venv venv
source venv/bin/activate # For Linux/macOS
# Or
venv\Scripts\activate # For Windows
```3. **Install dependencies:**
```bash
pip install -r requirements.txt
```4. **Set up the database:**
- Create a PostgreSQL database.
- Update the database configuration in `config.py`.5. **Run the application:**
```bash
python app.py
```6. **Access the application:**
Open your web browser and go to `http://localhost:5000`.
## Contributing
Contributions are welcome! Please feel free to open an issue or submit a pull request.
## License
This project is licensed under the [MIT License](LICENSE).