Git Product home page Git Product logo

hapchat's People

Contributors

arb avatar cjihrig avatar jaw187 avatar kevstev avatar lloydbenson avatar nvcexploder avatar omnijeff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hapchat's Issues

Gallary

Add something where you can view some or all of the recently uploaded photos

Expire images

Images should only be stored for a specific time period

Remove presentations/examples

After everyone else has created their slides and no longer needs a reference for how Lloyd's presentation server works.

Add login

Added a login mechanism to the nav bar.

View route

Need a route for /view/{photoId} which displays a single photo

Database

What are we doing with the DB? Currently, we aren't doing anything with it and it's just adding complexity. We should either:

  1. Use the DB completely and even store image information in there
  2. Cut the DB out entirely for version 1

@nvcexploder can you weigh in on this?

Figure out iOS

The FormData object doesn't seem to work right in iOS Safari. Low priority for sure.

Auth

Why do we have auth set up for the static files? We shouldn't need that should we?

Database

Remove all of the database code.

  • package.json
  • code in upload

Web Sockets

Client and Server side support for websockets

Views

Create a front end using

  • handlebars ๐Ÿ˜ž
  • stylus
  • replying with views
    • homepage
    • login page
    • view recent photos page?

File Stream

Figure out how to write the uploaded image with a file stream.

Nav Updates Part 1

There should be security on the routes already, but the Nav should also update based on the users logged in state or not.

Clean Up Alert

Use something other than alert(message) since that looks super n00b.

Routes

Add routes for

  • static content
  • something to alert me when there are new pictures? (socket)
  • logging in (with proper status codes and redirects)
  • a way to upload new pictures that should stream from hapchat to the "cdn" server

Add Database

Database should minimally store the path to the image, the sender, and a list of recipients.

Stylus

Update CSS to use Stylus instead of plain CSS.

Junk Images

Do something to keep the junk files that some OSs put there from being displayed on the client.

Security

Make it so you have to log in to do anything. Meaning no uploading or viewing if you aren't authenticated. Redirect user to login page. Update Nav to include all the correct items, /upload and /gallery.

Change Dynamic Nav

So the nav thing won't work as it currently stands. If you start logged out, hit the page, log in, and the go back to "/", you will still see login, instead of upload because you've got cached version of the home page.

Two options:

  1. Expire the cache of the home page
  2. Draw the nav client side

I personally prefer 1 because it would probably be easier and I like to handle security things like the server side.

GitHub Login Button

Make is so you have to click some kind of icon to log in with GitHub. As it stands, it's super transparent. Plus this will give us a place to house other provides down the road if we want to do that.

Huh?

What is this repo for? Is it still being used?

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.