npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

framify-lite

v1.0.1

Published

A lightweight application bootstraping tool for node.js

Downloads

64

Readme

##framify-lite

An fast and easy to use application bootstrapping tool for node.

NPM Version NPM Downloads


To install

npm install -g framify-lite


usage


To create a new application ...

On the command line, navigate to the directory where you would like to start your application then type :

framify-lite appName

Note:

  • The appName provided will be turned into lowercase

  • Spaces are not allowed in the appName unless you use escape characters e.g ** framify-lite My Application ** can be typed as ** framify-lite My\ \Application ** The result of this will however be my_application

  • The new application directory will be created in the current working directory *** ($PWD*) at the time of running the command.


A Brief Introduction

Bixbyte's framify-lite rapid app development framework base relies primarily on the UIKit and AngularJs frameworks for UI development.

it can also easily be ported as a UI base for mobile applications.

framify-lite UI builder is built out of the box to interact Bixbyte's bixbyte-frame application base which is a rapid API development framework complete with a GraphQl like ORM with built in simple yet powerful user access control management.

This aids in the rapid development of a full stack application essentially following an MVC ish architecture.

Some of the things that come with bixbyte-frame and therefore available in framify-lite by default are:

  • A socket.io and CORS enabled standardized express based server - base application

  • A simple communications module for email sending via the mandrill api

  • A simple Branded SMS sender module premium rate api

  • mongodb reusable connections and sample schema based off mongoose and Simple server side factories running off wagner-core

  • postgresql promise based query handler complete with an easy to use 'no alteration required' ORM.

  • A simple gulp based javascript framework packaging module that allows for customization of the default shipped angular modules

  • A CGI based handler to allow the running of php scripts in nodejs. Comes with a JSON API ORM with optional CORS packaging of HTTP requests using JSONP


APP STRUCTURE

| appName

  => assets	  

     -> css
	 	-> fonts
		-> themes
		- + .css

	 -> img 

	 -> icons
	 	-> material-design-icons

	 -> js
	 	-> maps
		- & .js

  => config
		- app.json
		+ & config.js
		- app-routes.json

These files are to be created manually

  	* & jwt-secret.conf
  	* & mailgun.conf
  	* & mongo.conf
  	* & postgres.conf
  	* & sms.conf

These files are to be created manually

  => db
POSTGRESQL ORM HANDLER
  		& .js	

  => php
PHP CGI & ORM HANDLER
  		&  index.php
  	 	-> classes
			  & *.php	

  => routes

  	 => templates

	   	=> welcome
		   	+ *.html

		=>password
			+ *.html

	 & auth.js
	 & db.js
	 & main.js
	 & passwords.js
	 & payments.js
	 & sms.js
	 & template2sms.js
	 & upload.js

  => sample

	  - sample.json

  => schema

     & members.js
	 - sample.sql

  => server
		 & enc_dec.js
		 & gcm.js
		 & mail.js
		 + & server.js
		 + server_cleanup.js
		 & sms.js
		 & sms_actions.js

  =>src

	=> framework

		+ & framify-lite.es6		

	+ & app.es6
  
  
  => views

  		 & login.html
		 & signup.html
		 & manage_users.html
		 & passwords.html

		 -+ index.html
		 -+ dash.html
		 -+ panel.html

		 - *.html 

  & gulpfile.js
  & index.html
  & main.js
  + package.json

KEY

(=>) Primary Major Segment folder

(->) Subsidiary folder

(*) Files that require to be created at project initialization

(-) Mainly User genrated files ( Edit at will )

(+) Pre - existing configuration files ( Edit with some caution )

(&) Fragile Major configuration files ( Edit only if you are sure of what tou are doing )

(%) Auto -generated application files ( Edit to play a frustrating game of 'chasing the wind and wild geese' )


handling files in src/ {{ services | directives | controllers }}

Make your main controller and directive changes in the framework/framify-lite.es6 file

Note:

*This file is required to run the application*

[ Editing it carelessly may prove as fruitful as chasing the wind with the sole purpose being to catch and jail it for causing hurricanes ]

Edit the app.es6 file such that all your application files are included therein* )

[*Failure to do this may mean that you have to implement an even dirtier routing mechanism*]

VIEW DEVELOPMENT

Avoid at all costs temptation(s) to place your view directly in the index.html, dash.html or panel.html files.

[*Create sub routers for that purpose*]

JAVASCRIPT PACKAGING

To package your application after making changes to the files in "/src"

Run

gulp

To watch for ongoing file changes,

Run

gulp watch


Links

Google Material Icons

Out of the box application example


Changelog

Open Changelog Document


Contributors

License

MIT