All Projects → leafo → Lapis

leafo / Lapis

A web framework for Lua and OpenResty written in MoonScript

Programming Languages

lua
6591 projects
MoonScript
45 projects

Projects that are alternatives of or similar to Lapis

docker-lapis
Dockerized Lapis
Stars: ✭ 20 (-99.24%)
Mutual labels:  moonscript, lapis, openresty
lapis-bayes
Naive Bayes classifier for use in Lua
Stars: ✭ 26 (-99.01%)
Mutual labels:  moonscript, lapis
lua-mailgun
Lua bindings to Mailgun HTTP API
Stars: ✭ 25 (-99.05%)
Mutual labels:  moonscript, openresty
lua-twitter
A Lua twitter library that works with OpenResty or LuaSocket
Stars: ✭ 29 (-98.89%)
Mutual labels:  moonscript, openresty
lapis-community
Pluggable message board for Lapis powered websites
Stars: ✭ 41 (-98.44%)
Mutual labels:  moonscript, lapis
Lua Resty Http
Lua HTTP client cosocket driver for OpenResty / ngx_lua.
Stars: ✭ 1,647 (-37.16%)
Mutual labels:  openresty
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (-24.34%)
Mutual labels:  openresty
Docker Multistreamer
Dockerized multistreamer
Stars: ✭ 90 (-96.57%)
Mutual labels:  openresty
Ngr
A high-performance & enterprise-class edge gateway middleware
Stars: ✭ 89 (-96.6%)
Mutual labels:  openresty
Dice
前后端分离Blog系统,采用Nuxt、Vue 2.x 和 SpringBoot 全家桶。
Stars: ✭ 222 (-91.53%)
Mutual labels:  openresty
Orange
OpenResty/Nginx Gateway for API Monitoring and Management.
Stars: ✭ 2,208 (-15.76%)
Mutual labels:  openresty
Ngx Oauth
OAuth 2.0 proxy for nginx written in Lua.
Stars: ✭ 146 (-94.43%)
Mutual labels:  openresty
Motan Openresty
A cross-language RPC framework for rapid development of high performance distributed services based on OpenResty.
Stars: ✭ 117 (-95.54%)
Mutual labels:  openresty
Lua Resty Repl
Interactive console (REPL) for Openresty and luajit code
Stars: ✭ 165 (-93.7%)
Mutual labels:  openresty
Lua Cassandra
Pure Lua driver for Apache Cassandra
Stars: ✭ 95 (-96.38%)
Mutual labels:  openresty
Lua Resty Redis Connector
Connection utilities for lua-resty-redis
Stars: ✭ 186 (-92.9%)
Mutual labels:  openresty
Lua Resty Redis Util
openresty/lua-resty-redis 封装工具类
Stars: ✭ 90 (-96.57%)
Mutual labels:  openresty
Lua Resty Auto Ssl
On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt.
Stars: ✭ 1,786 (-31.86%)
Mutual labels:  openresty
Nginx Admins Handbook
How to improve NGINX performance, security, and other important things.
Stars: ✭ 12,463 (+375.51%)
Mutual labels:  openresty
Subzero Starter Kit
Starter Kit and tooling for authoring GraphQL/REST API backends with subZero
Stars: ✭ 136 (-94.81%)
Mutual labels:  openresty

Lapis

A web framework for Lua/MoonScript supporting OpenResty or http.server

spec

Lapis is production ready, use it on your next huge project.

Learn more on the homepage: http://leafo.net/lapis/

Join Our Community

We just created a Discord for Lapis users and those interested in it to communicate. You can join us here: https://discord.gg/Y75ZXrD

Lapis Powered

Made a website in Lapis? Tell us

Running Tests

If you need to run tests outside of our CI. The test suites require Busted and MoonScript. There are three separate test suites:

  • busted -- test Lua implementations
  • busted spec_postgres -- integration tests with PostgreSQL. Requires a running PostgreSQL server
  • busted spec_mysql -- integration tests with MySQL. Requires a running MySQL server
  • busted spec_openresty/ -- integration tests with OpenResty as a server. Requires installation of OpenResty & Databases
  • busted spec_cqueues/ -- integration tests with lua-http and cqueues as a server.

Test suites that require databases need to have the initial database created. A lapis_test database is created on each. You can run each command respectively.

make test_db # postgres test db
make mysql_test_db
  • PostgreSQL: Ensure the postgres user can be logged in with no password.
  • MySQL: Ensure the root user can be logged in with no password.

Using the Docker image

This repository contains a Dockerfile for running the entire test suite. You can run it with the following commands:

docker build -t lapis-test .
docker run lapis-test

docker build will pull in the files in the current directory, including any changes. To test modified code, build again before running the test suite. It should be a quick operation since dependency installation is cached.

License (MIT)

Copyright (C) 2020 by Leaf Corcoran

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].