Medium Well is a website that allows users to share their favorite conspiracy theories with the world, akin to Medium.com. The site uses a PostgreSQL database and a Ruby on Rails backend. React.js leveraged with Redux is used on the frontend.
More features coming soon!
- Login: A secured backend that prevents unauthorized user interaction from within the app
- Splash Page: Displays and updates all stories that meet publication criteria in real-time
- New Story Page: Allows logged in users to submit their own conspiracy theory
- Story Show Page: Displays an individual story, as well as its claps (likes) and comments
- User Show Page: Displays all stories contributed by the user who is currently logged in
- Comments: Gives logged in users the option to comment on stories
Stories on the home page are separated using 3 react components displayed using flex
A logged in user can view a list of all stories they've published since joining
An interactive modal that lets new users create an account or demo the site
- Maintaining organized and accessible slices of global state to avoid repetitive prop threading between React Components
- Conditionally rendering different slices of global and local state within the same component depending on if a user is signed in
- Allowing for scalability of both stories and pictures without compromising stylistic integrity
The function bellow was used to ensure that all AJAX promises were returned in JavaScript native formats
API calls were then leveraged with the above function