Skip to content

IronFeeds/Ironfeeds

Repository files navigation

IronFeed: News worth spreading

Description

IronFeed is where tomorrow is realized. It is the essential source of information and ideas that make sense of a world in constant transformation.The breakthroughs and innovations that we uncover lead to new ways of thinking, new connections, and new industries. First of all, users have to sign up to able to get into the app and, after that, we allow to our users create his own articles based on their favourite categories, such as: general, business, entertainment, health, science and sports. Besides of, the users have their own profile to add their own articles.

User Stories

  • Error 4xx- As a user, I want to see a clear error page when it doesn't exist/has restricted access so that I know I probably make a mistake.
  • Error 5xx - As a user, I want to see a clear error page when problems are generated by the server so that I know that is not my fault.
  • index/home - As a user, I want to seamless access the index/home so that I know I'm the right place to begin the flow.
  • signup - As a user, I want to signup in a secure and easy way on the webpage so that I can start using the app.
  • login - As a user, I want to be able to login on the webpage so that I can see my personal account.
  • logout - As a user, I want to be able to logout from the webpage so that I can make sure no one will access my personal account.
  • edit profile - As a user, I want to be able to edit my profile so that I can modify my personal data.
  • create article - As a user, I want to create my articles in an easy way so that I have a personal collection and stay in touch with my favourite categories.
  • Categories - As a user, I want to keep update in all the categories that I've chosen.

Server Routes/Views:

Method View Route Description Request - Body
GET index / Main page route for ìndex or home view. If not logged redirect to /login {req.session.currentUser._id}
GET signup /signup Render signupform view
POST signup /signup Send signup data to server and creates an user in DB. Then redirect to /categories {username, email, password}
GET login /login Render loginform view
POST login /login Send login data to server and redirect to index {email, password,categories}
GET categories /categories Render categoriesview {req.session.currentUser._id}
POST categories /categories Sends ObjID of the categories that user choose. Then redirect / {req.session.currentUser._id}
GET profile /profile/:add Render post-creationview
GET profile /profile Render profileview {req.session.currentUser._id}
POST profile /profile/:user:id Send the data updated by the user to the DB. Then render profileview {req.session.userID, name, password, email, category, image, req.session.currentUser._id}
POST logout /logout Redirect to /login

Backlog

Method Route Description
GET /inbox Render inbox messages

Models

User

{
username: String
password: String
email: String
Cagtegory: ObjectId
image: String
}

Article

{
title: String
description: String
url: String
source: String
image: String
category: ObjectId
language: String
published_at: Date
}

Category

{
name: String
}

Links

Git

Repository Link

Slides

Slides Link

Contributors

Corina Perjan - <github> - <linkedin>

Samy Ali Sánchez - <github> - <linkedin>

Adrian Molina - <github> - <linkedin>

About

A news feed using CRUD methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •