Skip to content
This repository has been archived by the owner on Oct 8, 2018. It is now read-only.

saharathkleips/InstantPictogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstantPictogram

Saharath Kleips

Originally programmed as a CPE 400 Computer Communication Networks final project. Turns out I misinterpreted "Social Network." It was supposed to be like... Social Networking (routing algorithm).

Currently the server is able to accept messages to create a user, and authenticate users. The client simply sends an authentication request on load.

This project is designed to display client-server interactions, APIs, and restricted access to data. The project uses Java as its server and currently uses C#.NET with WPF forms as its Window's client UI. The goal is to develop an API so client applications may be ported to Linux, OSX, iOS, Android, and Web.

The project itself mirrors Instagram in the sense that users upload images and add friends. Only friends are allowed to see what a user has uploaded. Users may also remove friends in order to revoke access to images.

Currently the project stores the database of usernames, passwords, friends, pending friend requests, and images into RAM. However, this will be changed to a real database in a future iteration.

JSON API

Name Request / Response Example Description
Authentication {
"Authentication":{
"Username":"STRING",
"Password":"STRING",
"Authenticated":BOOLEAN
}
}
{
"Authentication":{
"Username":"SaharathKleips",
"Password":"12345",
"Authenticated":true
}
}
Checks if the username and password combination is valid. "Authenticated" will be true if valid, false if otherwise.
Create User {
"CreateUser":{
"Username":"STRING",
"Password":"STRING",
"Created":BOOLEAN
}
}
{
"CreateUser":{
"Username":"SaharathKleips",
"Password":"12345",
"Created":true
}
}
Attempts to create a user with the requested username / password. "Created" will be true if the user has been created, false otherwise.
Get User's Pending Friends
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Get User's Friends </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Get User's Photos </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Add User's Pending Friend </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Remove User's Pending Friend </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Remove User's Friend </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Add User's Photo </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Establish Friendship </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
    <tr>
        <td> Query Usernames </td>
        <td> 
            
        </td>
        <td> 
            
        </td>
        <td></td>
    </tr>
</tbody>

Contact Information

LinkedIn: http://www.linkedin.com/in/SaharathKleips
Email: SaharathKleips@nevada.unr.edu

About

CPE 400 simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published