continuationlabs / hapchat Goto Github PK
View Code? Open in Web Editor NEWhapi.js training for creating a hapi.js based snapchat application
License: Other
hapi.js training for creating a hapi.js based snapchat application
License: Other
Add something where you can view some or all of the recently uploaded photos
Images should only be stored for a specific time period
After everyone else has created their slides and no longer needs a reference for how Lloyd's presentation server works.
Added a login mechanism to the nav bar.
Need a route for /view/{photoId}
which displays a single photo
What are we doing with the DB? Currently, we aren't doing anything with it and it's just adding complexity. We should either:
@nvcexploder can you weigh in on this?
Look into shims for getUserMedia because for some reason it doesn't work in Safari.
Maybe look into https://github.com/addyosmani/getUserMedia.js
The FormData
object doesn't seem to work right in iOS Safari. Low priority for sure.
Why do we have auth
set up for the static files? We shouldn't need that should we?
Remove all of the database code.
upload
Client and Server side support for websockets
Create a front end using
Uploading local file allows for any image type to be uploaded.
Forward facing camera should display mirrored preview, uploaded/saved photo should not be mirrored.
Figure out how to write the uploaded image with a file stream.
There should be security on the routes already, but the Nav should also update based on the users logged in state or not.
Use something other than alert(message)
since that looks super n00b.
Create favicon
Add routes for
User is presented with a clickable notification that a new image is available. After button is clicked image is removed from view at set interval
Database should minimally store the path to the image, the sender, and a list of recipients.
Update CSS to use Stylus instead of plain CSS.
Do something to keep the junk files that some OSs put there from being displayed on the client.
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.
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:
I personally prefer 1 because it would probably be easier and I like to handle security things like the server side.
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.
What is this repo for? Is it still being used?
1.) npm install
2.) navigate to http://localhost:8000 (in chrome)
3.) click login
4.) authorize application
5.) explosions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.