Giter Site home page Giter Site logo

dejvid / playscalagooglefacebooktemplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jkransen/playscalagooglefacebooktemplate

0.0 2.0 0.0 136 KB

Template Play Framework/Scala project that will make users log in through their Google or Facebook accounts

playscalagooglefacebooktemplate's Introduction

Template Play Framwork / Scala application with Google/Facebook login
=====================================================================

This is an empty app template with Play Framework and Scala that makes 
users log in through their Facebook or Google accounts. The app further 
has dependencies on Anorm for non-ORM SQL database access, PostgreSQL 
database (as used by Heroku, and installed by default on e.g. Ubuntu) 
and RestFB for Facebook graph data traversal. From this state it can be 
forked to create any blank Play Framework / Scala app that uses Google 
and/or Facebook for authentication.

End users are required to allow their email addresses to be passed from 
Facebook to the app (for Google this is a standard permission). The 
email address is used throughout the app to identify the users. This is 
done by the User domain class already provided that is stored in the SQL 
database. It is up to you to add the other domain classes can be linked 
to it.

The next steps you need to do to get the app running:
 * Get an API key from Facebook, see https://developers.facebook.com/apps
 * Get an API key from Google, see https://code.google.com/apis/console
 * Install or get access to a PostgreSQL RDBMS and create a database,
   see http://www.postgresql.org/
 * Replace the placeholders throughout the code (IN_CAPITALS) with the 
   settings for the above
 * edit project/Build.scala and set your project name
 * Run 'play' from the project root
 * Run [project] $ secret to create a new application secret in 
   application.conf
 * Run [project] $ eclipsify to turn it into an Eclipse project, and 
   import this project into your Eclipse workspace
 * Run [project] $ run 
Good luck!

playscalagooglefacebooktemplate's People

Watchers

 avatar  avatar

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.