Coder Social home page Coder Social logo

uplifty's Introduction

Uplifty

This is a basic MEAN stack app

Abstract

Uplifty is an application that allows users to create their own statuses, and send positive thoughts to others by clicking on multiple Facebook-style "like" buttons.

Demo (old version)

Usage

npm install & npm server.js

Credits

Sahat - for the substantial portion of the app with the node/angular authentication: https://github.com/sahat/satellizer/

uplifty's People

Contributors

midori-ao avatar

Stargazers

 avatar Panda avatar

Watchers

James Cloos avatar  avatar  avatar

uplifty's Issues

Fix mobile menu

Menu is cramped... it needs moar space! Needs menu button

isAdmin relies on localStorage

isAdmin currently checks whether the role exists in the localStorage.. the way it is right now, anybody can insert the role into localStorage and spoof. It needs to make a request to the server to verify whether the person making the request indeed has the role; create isAdmin verifier on node side.

user logins

user logins, would require mongodb, maybe socket.io for auth?

Take setRole & isAdmin out of dependency asap

setRole currently depends on the response from the server to insert the data into localStorage. It's best to take this portion out of the dependency ASAP to avoid problems with dependency updates.

isAdmin will require a response from the server to make sure admin has valid token.

Will need to make this work within the app, possibly using a service?

All hidden states show on initial loadup

HTML seems to be loaded first, revealing all the hidden states, and the angular app kicking in afterwards. See if there's a way to fix.. shouldn't be too big of a problem though, since there's server-side auth in place.

setRole needs to be refined to get role from token

The way it's setup right now, role is assigned by server "user" response, and not via token.

Maybe it's not a big deal? Regardless, the server needs to check whether the role they have and the user making the request are the same.

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.