Go to file
garrettmills 14babd5b8b
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Track database column versions and include in database version data
2020-11-02 16:04:45 -06:00
app Track database column versions and include in database version data 2020-11-02 16:04:45 -06:00
config Set session max age to 2 days by default 2020-10-29 08:58:37 -05:00
flaps Big Bang 2020-02-07 19:50:10 -06:00
uploads Big Bang 2020-02-07 19:50:10 -06:00
.drone.yml Update .drone.yml to restart correct service on prod deploy (#10) 2020-10-12 21:57:08 +00:00
.gitignore Enable file uploader component 2020-02-09 04:37:21 -06:00
azure-pipelines.yml Update azure-pipelines.yml for Azure Pipelines 2020-02-08 20:09:20 +00:00
BUILD.txt Update gitignore, add build info 2020-02-07 20:56:24 -06:00
docker-compose.yml Big Bang 2020-02-07 19:50:10 -06:00
docker.env Big Bang 2020-02-07 19:50:10 -06:00
example.env Add support for Starship CoreID login (#9) 2020-10-18 13:11:19 -05:00
flaps.json Big Bang 2020-02-07 19:50:10 -06:00
flitter Big Bang 2020-02-07 19:50:10 -06:00
index.js Big Bang 2020-02-07 19:50:10 -06:00
LICENSE Big Bang 2020-02-07 19:50:10 -06:00
package.json Set session max age to 2 days by default 2020-10-29 08:58:37 -05:00
README.md Big Bang 2020-02-07 19:50:10 -06:00
Units.flitter.js Add structure for adding exported Ionic application to backend server 2020-02-07 20:34:04 -06:00
yarn.lock Set session max age to 2 days by default 2020-10-29 08:58:37 -05:00

Flitter

Flitter is a quick & ligthweight web app framework based on Express.

What?

Flitter is an MVC style framework that aims to get you up and running faster by providing a structure and a wrapper for Express.js. Files in predictable directories are parsed into routes, middleware, controllers, models, and views.

Flitter provides access to the Express app, while making it possible to create an app without needing to piece together the Express framework.

Flitter Provides:

  • Express for routing
  • Mongoose for ODM
  • Busboy for request parsing
  • Favicon support
  • ./flitter - CLI tools for Flitter (including an interactive shell)
  • User auth & sessions (see below)

How?

Getting started with Flitter is easy. To create a new project, simply run the following commands:

# Download Flitter:
git clone https://git.glmdev.tech/flitter/flitter {project_name}
cd {project_name}

# Install dependencies:
yarn install

# Create default config:
cp example.env .env

# Launch Flitter!
node index.js

# Or use the interactive shell
./flitter shell

And voilà! You should have a Flitter app up and running on port 8000 by default.

Why?

Flitter's creator is a former Laravel junkie, but loves Node and Express. He got tired of having to hammer out the same 500 lines of code to start every project, but didn't want the bulk and obfuscation of larger frameworks like AdonisJS.

Flitter is designed to be compartmentalized and easy to understand. Every piece of its core functionality is broken into "units." Each of these units does some task like loading config, parsing middleware, connecting to the database, etc. You can see exactly what units your application is loading by viewing the Units file in config/Units.flitter.js. Each of Flitters core units are open to view in the libflitter package.

Of course, this also means that Flitter is extremely easy to extend. If you want to add a custom package, simply require it and add its unit to the Units file!

Who?

Flitter was created by Garrett Mills, and its use is governed by the terms of the MIT License as specified in the LICENSE file.

Of course, that does mean that Flitter is © 2019 Garrett Mills. ;)

This command will copy the necessary files to your Flitter install. The files are directly accessible and, therefore, completely customizable.