1.1.7 • Published 8 years ago

poyocore-back v1.1.7

Weekly downloads
3
License
LGPL-3.0
Repository
github
Last release
8 years ago

poyocore-back

Here is hello world example :

var PoyoCore = require('poyocore-back');

var pc = new PoyoCore();

pc.api.addMethod({
	endPoint: 'api/myData',
	name: 'list',
	HTTPMethod: 'GET',
	action: function(resolve, reject) {
		// - this - contains all the informations you will need about your request
		// console.log(this);
		resolve({
			hello:"world"
		});
	}
});

pc.server.start();
// Just try to reach http://localhost:8080/api/myData/list
1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

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

1.0.0

8 years ago