0.0.36 • Published 7 years ago

magicjs v0.0.36

Weekly downloads
8
License
GPL-3.0
Repository
github
Last release
7 years ago

MagicJS

MagicJS is little Node.js Framework.

Steps install framework (example simple web app).

  • Create a file launch.js

    touch launch.js
  • Add in launch.js :

'use strict';
 
const MagicJS = require('magicjs');
const Router = require('magicjs');
const Magic = Router();
const MagicRouter = Magic.push;

MagicRouter('/hello', function (req, res, next) {
  res.send('Hi there!');
});

MagicJS.listen(3000);
MagicJS.router(Magic);
MagicJS.offline(false);
  • Install dependencies
npm install --save magicjs
  • Boot the application
    node launch.js
## Docs

### Structure folder is:

* Assets (Style Files)
* Controllers eg.(Home.js, 404.js)
* Model (DB)
* Views (index.html, home.html)


#### Coming soon add new changes framework
0.0.36

7 years ago

0.0.35

7 years ago

0.0.34

7 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago