mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 20:25:26 +00:00
Added documentation
This commit is contained in:
17
examples/Examples.md
Normal file
17
examples/Examples.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Examples
|
||||
|
||||
This is examples folder. Each example is linked to webserver.js, which **requires express.js** to run.
|
||||
|
||||
Since just examples, Express.js was not inserted as dipendency. Therefore install it to test.
|
||||
|
||||
```sh
|
||||
git clone https://github.com/alexandercerutti/passkit-generator.git;
|
||||
npm install;
|
||||
npm install express;
|
||||
cd examples;
|
||||
node <the-example-you-want-to-execute>.js
|
||||
```
|
||||
|
||||
___
|
||||
|
||||
Every contribution is really appreciated. ❤️ Thank you!
|
||||
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* Generic webserver instance for the examples
|
||||
* @Author Alexander P. Cerutti
|
||||
* Requires express to run
|
||||
*/
|
||||
|
||||
const express = require("express");
|
||||
|
||||
Reference in New Issue
Block a user