• Stars
    star
    181
  • Rank 212,110 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A well documented set of tools for building node web applications.

Perk

import { server } from "perk";

server({
	rootDirectory: __dirname,
	routes: {
		directory: "./routes",
		excludeRegex: ".*\\.test\\.ts$",
	},
	server: {
		url: "https://api.mywebsite.com",
		port: 3001,
		cors: {},
	},
})
	.then(() => {
		console.log(`Server started on port 3001`);
	})
	.catch((error: Error) => {
		console.error("The server couldn't start up...");
		console.error(error.message);
	});

process.once("SIGUSR2", async function () {
	process.kill(process.pid, "SIGUSR2");
});

More Repositories

1

bookshelf-api

Express middleware for generating an API based on bookshelf models.
JavaScript
22
star
2

config-template

Create server specific configuration files from a template via the command line.
JavaScript
9
star
3

pointer-app

JavaScript
7
star
4

perk-cli

Command link tool for bootstrapping Perk apps
JavaScript
5
star
5

BitBlog

Uses BitTorrent Sync as a communication method for distributed web apps.
JavaScript
4
star
6

perk-docs

Documentation repository for Perk
HTML
4
star
7

Backbone-TreeModel

Extends backbone model to allow for collections within the model
JavaScript
3
star
8

Orion-Forum-Skeleton

A light weight forum using Codeigniter PHP and MySQL
PHP
3
star
9

willow-documentation

2
star
10

CodeFriends

JavaScript
2
star
11

orion-test

JavaScript
1
star
12

s3-image-middleware

Express middleware to resize images and upload them to s3
JavaScript
1
star
13

perk-many-to-many

JavaScript
1
star
14

code-school-assignments-app

JavaScript
1
star
15

willow

An isomorphic component / event framework written in JavaScript
JavaScript
1
star
16

orion-server

Playing around with node clustering
JavaScript
1
star
17

orion.js

A node framework
JavaScript
1
star
18

generator-react-backbone

A yeoman generator for react + backbone using gulp, browserify and babel
JavaScript
1
star
19

terminal-renegade

JavaScript
1
star
20

co-env

Simple utility to load configuration data from a directory.
JavaScript
1
star
21

perk-six-degrees

A LinkedIn clone using node and express.
JavaScript
1
star
22

perk-bookshelf-api-example

JavaScript
1
star
23

delta-firmware-suota

C
1
star
24

backparse

backparse is a commonjs implementation that adds parse integration to Backbone models and collections. Code is havily borrowed from neebz's [backbone-parse](https://github.com/neebz/backbone-parse).
JavaScript
1
star