Hegelian Bagel is a full-stack news app that allows you to filter out Coronavirus-related news and browse articles by trending tags. Made by Isabel K. Lee and Stephanie Zou.
-
Install the Rails backend
-
Install Node.js and npm
$ brew install node
-
Clone this repo and cd into the directory
-
Install all dependencies
$ npm install
-
Make sure the Rails server is running and then run the app
$ npm start
- Pulls breaking news articles from the News API using asynchronous fetches
- Models have
has_many
,belongs_to
andhas_many through
associations - Uses ActiveModelSerializers, which turns model attributes into JSON object keys
- Update the application state using React lifecycle methods
- Organize the code structure by separating components into presentation components and container components
- Implement inverse data flow to send props down and up between parent components and child components
- Filter news articles by tags
- Search for articles by title and author
- Hide Coronavirus-related news
- Add and delete tags to articles
Coming soon...
- React.js (Frontend)
- Ruby on Rails API (Backend: https://github.com/stephaniezou1/news_backend)
- PostgreSQL
- HTML/CSS
- Active Record
- Rack CORS: description
- ActiveModel::Serializer: description
- News API
- Semantic UI CSS Library