Re-published article by knoldus.com.
Original article can be found here : http://blog.knoldus.com/2013/02/24/a-simple-login-application-in-liftweb-using-scala-and-mongodb/
Interested to learn more about Scala or Akka? Then visit our Selected Books area
Liftweb is an elegant , designer friendly and arguably the most powerful web framework that provides developers ability to create secure , scalable , maintainable , rich and interactive web applications .
It is built on the top of Scala and takes View-First approach rather going via the standard Model-View-Controller way.
Now , Let’s look at a simple example .
This is a simple login based application in Liftweb using Scala and MongoDB . If you want to use Liftweb as framework , Scala as Programming Language and MongoDB as Database then this demo project can be used as a starting point for your application .
You can found source code on the Knoldus GitHub account here : Login Template using Liftweb and Scala .
Requirements :
- SBT
- MongoDB
Getting Started with Code :
- Set Up MongoDB
- Start mongo: > mongod
- Import into Eclipse by >sbt eclipse
- Start application by >sbt ~container:start
- To Run test cases >sbt test
After starting application , Go to http://localhost:8080 and click on Demo ,
you will see a Login screen .
Re-published article by knoldus.com.
Original article can be found here : http://blog.knoldus.com/2013/02/24/a-simple-login-application-in-liftweb-using-scala-and-mongodb/
Interested to learn more about Scala or Akka? Then visit our Selected Books area

