BoxLang 🚀 A New JVM Dynamic Language Learn More...

Car Tracker CBORM Demo

v3.0.0 Demos

Pink Unicorns Do Exist

This is sample application that shows you the power of the ColdBox ORM Module. You will need CommandBox installed in your machine in order to install and run dependencies.

Get CommandBox :


Step 1 : Database Setup

This sample application was built using MySQL 5 and you can find the file CarTracker.sql in the worbench folder of the application that you can use to pre-load your application.

Step 2 : Environment

This application is pre-configured to use CFConfig for loading the database into the engine and environment variables for connectivity. Copy the .env.template and rename it to .env. Open it and add your credentials for your MySQL database:


In order for these env files and the cfconfig files to work, you must have the commandbox modules installed, so type the following in your shell:

box install commandbox-cfconfig,commandbox-dotenv

Step 3: Dependencies

Go in to the CommandBox shell by typing box and enter. Then type install to configure all the necessary dependencies for this application.

Step 4: Run it!

That's it, just run the application via CommandBox by typing server start. This will open the browser to http://localhost:8090. The port 8090 is configured inside the box.json file.

There is a bug in Lucee that on first server start you might get some ORM issues. Just do a server restart and it should be kicking again.

$ box install cartracker-demo

No collaborators yet.
  • {{ getFullDate("2014-10-13T21:04:01Z") }}
  • {{ getFullDate("2019-08-30T10:13:58Z") }}
  • 4,718
  • 1,940