Skip to content

Aphax/BlogMVC-PlayFramework2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A MVC blog with Play Java 2.5

Requirements

  • JDK8
  • Mysql5

Launch local server

$ cd BlogMVC-PlayFramework2
$ ./bin/activator run

Server will compile files and then open Netty server on port 9000. Open http://localhost:9000

Database configuration

Create mysql database named "blogmvc" from dump.sql root file. You can edit configuration in conf/application.conf file, on the "db" namespace (at the bottom). If you want to try another database engine, follow details here https://www.playframework.com/documentation/2.5.x/JavaDatabase

Improvements TODO

  • Comments feature
  • Small REST API sample for comments feature
  • CSRF token security sample
  • Tests samples (Unit , Functionnal and Integration)
  • Improve this documentation

Resources / Going further

Why is Play Framework so fast ? by Lightbend (Play's distributor) https://www.lightbend.com/blog/why-is-play-framework-so-fast

The ultimate guide by YEVGENIY BRIKMAN (Play developer at LinkedIn) http://www.ybrikman.com/writing/2014/03/10/the-ultimate-guide-to-getting-started/

Enjoy!

About

Blog sample propulsed by Play Framework (v 2.5.10 Java)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published