Workshop - Building a REST API for the Modern Developer

Sat Sep 28 2024 at 09:00 am to Sun Sep 29 2024 at 05:00 pm

Bottega Exchange | Las Vegas

Ortus Solutions, Corp
Publisher/HostOrtus Solutions, Corp
Workshop - Building a REST API for the Modern Developer
Advertisement
Create a ColdBox REST API using Ortus tools. Secure, document, test, and manage your API with CommandBox, cbSecurity, Swagger, and more.
About this Event

Building a REST API for the Modern Developer


<h4>Workshop Overview</h4>

In this hands-on workshop, you'll learn to build a modern REST API using a Behavior-driven approach with ColdBox MVC and other Ortus tools. You'll start by setting up and configuring your API with CommandBox, using environment variables and cfconfig. Your ColdBox RESTFul handler will deliver standard payloads secured by JWT authentication via cbSecurity. You'll validate data with cbValidation, document APIs with Swagger annotations, and test API calls using BDD integration tests.


Location

The exact location is coming soon, but it will be close to the strip.


What's Included

?️ Lunch is included

? Ortus Swag and Surprises!


<h4>Target Audience</h4>

This workshop is designed for developers interested in building and securing a CFML/BoxLang REST API backend with JWT authentication. While familiarity with CommandBox and ColdBox is beneficial, it is not a requirement.


<h4>Why Attend?</h4>


<h4>You will gain practical experience in:</h4>


  • Building a REST API using scaffolding templates and modules (cbSecurity, cbValidation, cbSwagger, cbSwagger-UI, and qb)
  • Implementing best practices for routing, authentication, and documentation
  • Securing API calls with JWT authentication
  • Creating thorough API documentation
  • Writing and running tests to ensure your API performs as expected


<h4>App User Stories</h4>


  • Test your understanding of the workshop concepts with questions and exercises
  • Reinforce your knowledge of Ortus Products.


<h4>Key Learning Points</h4><h4>
</h4>
  • CommandBox
  • Create and configure your environment file with variables
  • Set up your .cfconfig file
  • Install necessary modules
  • Understand the box.json file and configure migrations
  • Create the site using the REST-HMVC Template


  • API Implementation
  • Login, generate, and manage JWT
  • CRUD operations (List, Show, Create, Update, Delete)
  • Secure calls and validate inputs
  • Document functions and test calls


  • Workshop Coverage
  • Setting up your site with CommandBox
  • Creating a ColdBox REST API
  • Creating and managing database tables via migrations
  • Setting up database models and services
  • Using API resourceful routes
  • Implementing JWT authentication
  • Previewing API responses with Postman
  • API documentation and testing with Swagger UI Tooling


  • Additional Topics (Time Permitting)
  • Debugging with cbDebugger and the BoxLang Debugger


<h4>Prerequisites</h4>


  • Programming Knowledge: Basic understanding of API concepts and CFML. Familiarity with CommandBox and ColdBox is a plus.
  • Hardware and Software: A laptop with CommandBox installed, a code editor (VS Code or preferred IDE), and a MySQL client.
  • Database Setup: MySQL 8 installed locally or via Docker. We will provide a remote server as a backup.


<h4>Required Tools</h4>


  • CommandBox: Download Here
  • Postman: Download Here
  • BoxLang IDE Dowload Here
  • MySQL 8 (installed locally or in a Docker container with our docker-compose.yml)
  • MySQL DB Client


<h4>Workshop Takeaways</h4>

You will leave with a fully functional REST API that is secure and well-documented. You'll understand:


  • CommandBox basics for hosting your site
  • Best practices for creating ColdBox REST APIs
  • Securing your API with JWT authentication
  • Using qb migrations for database management
  • Validating API inputs
  • Testing and documenting your APIs using Behavior-driven and Swagger tools
Advertisement

Event Venue & Nearby Stays

Bottega Exchange, 6675 South Tenaya Way, Las Vegas, United States

Tickets

USD 499.00 to USD 699.00

Discover more events by tags:

Workshops in Las VegasIt in Las Vegas

Sharing is Caring: