Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (11 loc) · 389 Bytes

File metadata and controls

17 lines (11 loc) · 389 Bytes

Simple TypeScript Script Example

This example shows how to use Photon.js in a simple TypeScript script to read and write data in a database.

_INLINE(../setup-1.md) cd photonjs/examples/typescript/script _INLINE(../setup-2.md)

5. Run the script

Execute the script with this command:

npm run start

_INLINE(../next-steps.md)