https://github.com/ehsanparsania/parse-server-example-ts
https://github.com/ehsanparsania/parse-server-example-ts
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ehsanparsania/parse-server-example-ts
- Owner: EhsanParsania
- Created: 2024-11-27T10:50:14.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-08T13:40:01.000Z (about 2 months ago)
- Last Synced: 2025-03-08T14:26:52.540Z (about 2 months ago)
- Language: JavaScript
- Size: 1.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# TypeScript Cloud Code
This directory contains TypeScript code that compiles to the `cloud` directory where Parse Server reads cloud code.
## Quick Start
```bash
# Development with auto-compilation and file sync (including deletions)
npm run dev# One-time build (for commits)
npm run build:cloud-sync
```## How It Works
- Write TypeScript in `cloud-ts/`
- Files auto-compile to JavaScript in `cloud/`
- When TS files are deleted, JS files are also deleted## Tips
- Don't edit files in `cloud/` - they'll be overwritten
- New files should be imported in `main.ts`
- Use TypeScript interfaces for Parse objects