Giter Site home page Giter Site logo

thefcraft / mediumclone Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 5.21 MB

A simple Medium clone built using Flask.

Home Page: https://mediumclone-uzmf.onrender.com

Jupyter Notebook 14.37% Python 26.83% CSS 16.55% HTML 42.25%
blog flask flask-sqlalchemy medium-clone postgresql postgresql-database postgresql-flask python

mediumclone's Introduction

Medium Clone

A Medium clone website built using Flask, PostgreSQL, flask_pgsql, and Flask-Login.

Live Demo

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:

    git clone https://github.com/thefcraft/mediumClone.git
    cd medium-clone
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # For Linux/macOS
    # Or
    venv\Scripts\activate  # For Windows
  3. Install dependencies:

    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:

    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.

mediumclone's People

Contributors

thefcraft avatar

Stargazers

Kanahia avatar  avatar

Watchers

 avatar

Forkers

danieltowerz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.