Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 569 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 569 Bytes

respi

Express.js api creation automation tool
import app from 'respi';
import actions from './actions';
import myMiddleware from 'anMiddleware';

// express middle wares before all
// you can handle private public actions globally
app.use(myMiddleware);

// all arguments are optional
app.init({
    port: 9000,
    https: true,
    corsDomains: ['localhost:9000', 'somedomain.com']
    actions
});

export default app;

Copyright (c) 2017 pirateminds.com. Licensed with The MIT License (MIT)