1.1.7 • Published 7 years ago

poyocore-back v1.1.7

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

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

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

1.0.0

7 years ago