Skip to content

jeko2000/tiny-routes-realworld-example-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CL tiny-routes RealWorld Example App

tiny-routes codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged backend application built with tiny-routes including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the tiny-routes community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

Overview

This is clack application built using tiny-routes library.

Installation

To install, first navigate to a directory where your Quicklisp installation expects local packages (e.g., ~/quicklisp/local-projects) and clone this repository as follows:

git clone https://github.com/jeko2000/tiny-routes-realworld-example-app

Then, start up your Common Lisp implementation, quick load the package, and start the server.

(ql:quickload :conduit)
(conduit:start-app)

Testing

The server can be tested via the realword Postman collection.

For reference, this is the response as of version 0.1.0.

  ┌─────────────────────────┬───────────────────┬───────────────────┐
  │                         │          executed │            failed │
  ├─────────────────────────┼───────────────────┼───────────────────┤
  │              iterations │                 1 │                 0 │
  ├─────────────────────────┼───────────────────┼───────────────────┤
  │                requests │                32 │                 0 │
  ├─────────────────────────┼───────────────────┼───────────────────┤
  │            test-scripts │                48 │                 0 │
  ├─────────────────────────┼───────────────────┼───────────────────┤
  │      prerequest-scripts │                18 │                 0 │
  ├─────────────────────────┼───────────────────┼───────────────────┤
  │              assertions │               331 │                 0 │
  ├─────────────────────────┴───────────────────┴───────────────────┤
  │ total run duration: 19.4s                                       │
  ├─────────────────────────────────────────────────────────────────┤
  │ total data received: 17.08kB (approx)                           │
  ├─────────────────────────────────────────────────────────────────┤
  │ average response time: 81ms [min: 5ms, max: 631ms, s.d.: 185ms] │
  └─────────────────────────────────────────────────────────────────┘

Enjoy!

About

Starter kit for new RealWorld framework implementations

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Common Lisp 100.0%