Skip to content

lashford/modern-web-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
alexlashford
Jun 26, 2015
28e48e3 · Jun 26, 2015

History

69 Commits
Jun 26, 2015
May 25, 2015
Jun 26, 2015
Jan 3, 2015
Dec 17, 2014
Apr 22, 2015
Feb 22, 2014
Mar 2, 2014
May 25, 2015
Mar 13, 2014
Jun 26, 2015

Repository files navigation

Modern Web Template

AngularJS - Scala - Play - Guice - PlayReactiveMongo

A full application stack for a Modern Web application, lets review the components:

  • AngularJS - client side javascript framework for creating complex MVC applications in Javascript, fronted with Twitter bootstrap CSS framework, because well, im not a web designer.

    • Take a look at what the google cool kids are upto here : AngularJS
  • Bootstrap - Bootstrap components written in pure AngularJS

  • CoffeeScript - CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.

  • PlayFramework - currently using 2.3.9 with the scala API

  • Guice integration for Dependency injection,

    • Special thanks to the typesafehub team for their activator : Play-Guice
  • PlayReactiveMongo gives interaction with MongoDB providing a non-blocking driver as well as some useful additions for handling JSON.

Getting Started

Your development environment will require:

  • SBT / Play see here for installation instructions.
  • MongoDB see here for installation instructions.

Once the prerequisites have been installed, you will be able to execute the following from a terminal.

../modern-web-template >  sbt run

This should fetch all the dependencies and start a Web Server listening on localhost:9000

[info] Loading project definition from ../modern-web-template/project
[info] Set current project to modern-web-template
[info] Updating modern-web-template...
...
[info] Done updating.

--- (Running the application from SBT, auto-reloading is enabled) ---

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Ctrl+D to stop and go back to the console...)

Note: This will create a MongoDB Collection for you automatically, a freebie from the Driver!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published