Skip to content

jomariepolanco/newsfeed-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newsroom

Overview

Welcome to Newsroom. Here, you can browse the top headlines in 7 differnt categories. Login or sign up to add notes with highlights from your favorite articles! If you change your mind after adding your note, go ahead and delete it!

7 categories: Business, Entertainment, General, Health, Science, Sports, Technology

App

User Stories

  1. A user can see real-time, top headline news that is refreshed daily for 7 different categories.
  2. A user can filter news articles by topic.
  3. A user can add a note about any article.
  4. A user can delete their notes.
  5. A user can login and sign up.

To Run

To start the Client:

npm install or yarn
npm start or  yarn

The client is running on http://localhost:3000/

To start the Server:

npm install
npm run schema:sync
npm start

Server uses a postgresql database. You may have to use createdb newsroom-backend if schema:sync does not work. The server is running on:
http://localhost:8080/api/users
http://localhost:8080/api/notes
http://localhost:8080/api/news/{category}

Example of /api/news/entertainment api-call

Example of /api/notes notes-server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published