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

mvlabat/hello-bigdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hello-bigdata

Running

sbt run

Prerequisites

This application uses facebook Graph API. Currently it can be run only on http://mvlabat.host:8080/ domain address. This requires to edit /etc/hosts a little bit.

This application expects that mongodb database is already created and collections are predefined. Look at /src/main/scala/Database.scala.

Example of users collection structure:

> db.users.find().pretty()
{
        "_id" : ObjectId("582660f74e9ab2d84de2b782"),
        "email" : "someone@gmail.com",
        "password" : "123"
}

Example of ids collection structure:

> db.ids.find().pretty()
{
     "_id" : ObjectId("582651bc4e9ab2d84de2b77f"),
     "email" : "someone@gmail.com",
     "id" : "toset"
}

Things implemented

  • User registration (check http://mvlabat.host:8080/register)
  • Repeating password validation
  • User login (check http://mvlabat.host:8080/login)
  • Facebook authorization using Graph API (check http://mvlabat.host:8080/oauth)
  • Scheduling email sending (only scheduling, no emails are actually sent, configuring smtp is a TODO task)
  • Saving results to database (only user id, see below)

Things not implemented

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published