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)
Execute the script with this command:
npm run start
_INLINE(../next-steps.md)