Thanks to visit codestin.com
Credit goes to github.com

Skip to content

commonlisp web framework inspired by Ruby on Rails

License

tamurashingo/clails

Repository files navigation

clails

web framework inspired by Ruby on Rails

requirement

  • roswell
  • qlot
  • sbcl

install

clails is alpha version. so you will need to manually configure various settings.

clone clails

git clone https://github.com/tamurashingo/clails.git

install dependencies

cd clails
qlot install

add environment variables

path

export PATH=$PATH:$PWD/roswell

asdf's source path

export CL_SOURCE_REGISTRY=$PWD

usage

create project

clails.ros new project-name

create new database

execute create database command

clails.ros db:create

migrate database

clails.ros db:migrate:up

startup server

clails.ros server

visit http://localhost:5000/

you'll see

clails initial page

example

It contains instructions on how to create an application using commands:
https://github.com/tamurashingo/clails/wiki/create-todo-application

Implementation examples for various databases, Docker, and REST:
https://github.com/tamurashingo/clails-sample-apps

feature

model

  • select from single table
  • update
  • insert
  • delete
  • select from many tables

view

  • template-based HTML rendering
  • JSON rendering

controller

  • accept query parameter
  • accept path parameter
  • rest controller

Copyright 2024-2025 tamura shingo

About

commonlisp web framework inspired by Ruby on Rails

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages