medium-clone is a clone of Medium, a open platform where readers can discover and write on any topic. medium-clone aims to replicate those features both on the front and backend.
- Javascript
- React
- Redux
- FontAwesome
- PostgreSQL
- Python
- Flask
- SQLAlchemy
- Clone the repository
git clone https://github.com/KateCiz/MediumClone.git
- Install python dependencies
pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt
-
Create a
.env
file based on the example provided -
Setup your PostgreSQL credentials and database according to the variables set in .env
-
Active your pipenv then run the following command to open shell
pipenv shell
- Migrate the database
flask db upgrade
- Seed the database
flask seed all
- Run the flask app
flask run
-
Navigate to
react-app
-
Install dependencies
npm install
- Start the frontend server
npm start
The application will now be running at http://localhost:3000/
The clone currently allows a user to:
- Log in
- Sign up
- Explore groups
- Use the DEMO USER login
As a logged in user you can:
- Create a new story
- View the stories create by and others
- Edit stories you created
- Delete stories you created
As a logged in user you can:
- Create a new comment on a story
- Reply to a comment on a story
- Edit comments you created
- Delete delete comments you created
A logged in user can:
- Follow/Unfollow a user
- View who is following a user
- View who a person is following
A logged in user can:
- Like/Unlike a story or comment
- View how many likes a story has
- View a story
- Comment on a Story and other comments, like comments
This clone is a work in progress, these features will be available in the future...
- Expand on the create story editor to allow for styling of stories
- Allow for adding tags to stories to personalize the for you page a bit more
- allow users to style there profiles
- add a search bar to search for stories
- Pagination for Feeds