0.0.36 • Published 8 years ago

magicjs v0.0.36

Weekly downloads
8
License
GPL-3.0
Repository
github
Last release
8 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

8 years ago

0.0.35

8 years ago

0.0.34

8 years ago

0.0.33

8 years ago

0.0.32

8 years ago

0.0.31

8 years ago

0.0.30

8 years ago

0.0.29

8 years ago

0.0.28

8 years ago

0.0.27

8 years ago

0.0.26

8 years ago

0.0.25

8 years ago

0.0.24

8 years ago

0.0.23

8 years ago

0.0.22

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago