Git Product home page Git Product logo

lifeinvader's People

Contributors

rlguarino avatar rxl7906 avatar zhuenink avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lifeinvader's Issues

User Profile Page

URL
/:user/

Display the profile page of a user.
The profile page will include the user's name and Email.

If the logged on user is a friend of the requested user, the page will display the requested users friends list, as well as the request users wall.

If the logged on user is not a friend of the requested user, then the page will display a form to request the user as a friend.

Friend requests

Users need to be able to request the friendship of people who are not already in their friends list.
The requested user must be notified of the pending request.
The requested user must be able to accept or reject the request.

Private Repository

@zhuenink @rxl7906

Should we keep this repository as a private repo? If we want to keep the repo private I would need to create a new account to host the code and migrate it there, to freee up one of my private repo slots.

If we don't keep it private, we should choose a License, I doubt anyone will look at or use the code, but just in case.

Move the database scripts to another location.

The database creation scripts should be somewhere else other than the root of the project.

Maybe inside a /contrib directory?
Most projects have a /contrib directory that hold developer tools and scripts.
Maybe the database scripts should be in a directory /contrib/db/
For example /contrib/db/create_all.db and /contrib/db/example_insert.db

Create Models in for the ORM

Create the following models for Hibernate to persist to the database.

User(id, Name, DOB, Address, Email, passwdHash);
Group(id, Name, GroupSize);
Wall(Wall_ID, User_ID, Group_ID);
Post(Id, content, TimeStamp, Type, user);
Request(sender, target, isGroup);
UserRelationship(Person1_ID, Person2_ID);
Member(GroupID, PersonID);

Merge NewModels Branch

I went through and fixed some syntax and compile errors. Should be ready to merge into master. After someone looks through it.

Store id in the session variables rather than email.

To easier be able to search through user data, we should store the id of the user in the session variable rather than the email of the user.

Then we could use session.get("id") as the primary search key, streamlining the process of finding the currently logged in users while handling web request.

Assure that the Userd.email is unique.

We need to insure that the Userd.email is unique in the user.email column. But It should not be the primary, in case a user would like to change their email address. Therefor we need to check every time a userd.email is inserted or updated, that no other user exists with the same email.

Friends list

Display a users friends list and the friends in the list.

User Settings Page

User Settings page where you can view and change your profile information as well as "delete" your user.

User Friends List

URL
/:user/friends

If the current user is a friend of the requested user, then the page will display the full friend list of the requested user.

If the current user is not a friend of the requested user, then the page will redirect to the profile page of the user. (Where the current user will be prompted to request for friendship)

Design url endpoints

Decide how to layout the urls and what each action should do. We should have detailed designs for exactly what should be the outcome of each operation.

User About page

/:user/about

Displays user about page. Containing:
Name
DOB
Address
Email

This should check to make sure that the currently logged on user is a friend of :user

DB Schema

Create the db schema, and scripts for testing.

Wall

Display a wall containing all the post associated with the wall.

User Wall

URL
/:user/wall

View the users full wall.
If the current logged on user is a friend of the request user, then display the whole users wall.
If the current logged on user is not a friend then direct them to the profile page of the requested user.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.