Code Monkey home page Code Monkey logo

lift-3-demo's Introduction

Twitter Bootstrap

Bootstrap v2.2.2 is included.

Database

This app uses Lift Mapper and can be used with any Mapper compliant database, such as MySQL, PostgreSQL and many others. See config.MapperConfig for more info.

Building

This app requires sbt 0.12. To build for the first time, run:

bash$ sbt
> ~;container:start; container:reload /

That will start the app and automatically reload it whenever sources are modified. It will be running on http://localhost:8080

Less

The less-sbt plugin is used to compile the bootstrap less files as well as your own.

  • src/main/less/styles.less acts a manifest file that lists all of the other less files that are to be included in the build.
  • src/main/less/variables.less is for setting colors, fonts, etc.
  • src/main/less/custom.less is where you can add custom styles for your app.
  • src/main/less/bootstrap are the original files and should not be changed.

You can also add other less files to the build by adding them to styles.less.

Note: In order to trigger sbt to re-compile the less files, you need to save styles.less.

JavaScript

The sbt-closure plugin is used to compile JavaScript files.

  • src/main/javascript/script.jsm is the JavaScript manifest file that lists all of the JavaScript files that are to be included in the build.

Note: In order to trigger sbt to re-compile the JavaScript files, you need to save script.jsm.

User Model

This app uses Mapperauth, a port of Mongoauth Lift Module. The registration and login implementation is based on research done by Google a few years ago and is similar to Amazon.com and Buy.com. It's different than what most people seem to expect, but it can easily be changed to suit your needs since most of the code is part of your project.

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.