Giter Club home page Giter Club logo

socialhubmiddleware's Introduction

๐Ÿ‘‹ Hello, Iโ€™m @m7azeem

I โค๏ธ distributed backends, data and machine learning.

Recently finished internship at Spotify.

Currently finishing up my Distributed Systems and Data Science MSc at KTH Sweden.

I have worked for around 5 years in various software engineer jobs. ๐Ÿ’ป


A couple of recent projects:

  • Spotify video feed ranking service: Internship project for the upcoming ๐ŸŽ‰ Video ๐ŸŽฅFeeds to the platform. It calls many internal services to filter and rank videos for the feed based on user preference.

  • The Gait Biometric: Identifying user through their walking pattern by gait analysis using accelerometer sensors.


๐Ÿ’ฌ Get in touch

Definitely hit me up for offline hackathons.

socialhubmiddleware's People

Contributors

m7azeem avatar polltery avatar

Watchers

 avatar  avatar  avatar

Forkers

polltery

socialhubmiddleware's Issues

Complete the method to hash passwords

I have already made a class called Hasher.
It contains a method hashPass(...).
Please look online and implement some hashing algorithm (preferably SHA-256 or SHA-3) in this method.

JSON is not validated before DB insertion

Following request payload should not pass, but passes due to no JSON validation present or payload being directly injected in the database

{
  "usersname": "balasdrasdaj",
  "passffword": "passwasdasdord"
}

Give an error response if no token is present

Give error response like...

{"success":false,"message":"No token present"}

instead of this...

Required query parameter token not specified (org.mule.module.apikit.exception.InvalidQueryParameterException).

JUnit testing

Make and do JUnit tests on the methods in each java class.

Clean code

Remove all unused code in master branch.
To be done once all coursework requirements are met and the initial implementation is completed.

Generate a random token

In class TokenGenerator. Complete the getToken(...) method.
Token here is supposed to be a partially random string which makes use of the username and current system time, plus some extra random stuff.
Preferably make a 256bit String (string length should be 256 characters)

Reply gracefully with error when database is not connected.

Currently it gives an error when database is not connected, It would be better if we can handle that and send response with success = false.

Root Exception stack trace:
java.io.IOException: couldn't connect to [localhost/127.0.0.1:27017] bc:java.net.ConnectException: Connection refused

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.