EhsanParsania / parse-server-example-ts

Example of Parse Server using the express framework.

Repository from Github https://github.comEhsanParsania/parse-server-example-tsRepository from Github https://github.comEhsanParsania/parse-server-example-ts

TypeScript Cloud Code

This directory contains TypeScript code that compiles to the cloud directory where Parse Server reads cloud code.

Quick Start

# 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

About

Example of Parse Server using the express framework.


Languages

Language:JavaScript 59.9%Language:HTML 13.5%Language:CSS 11.7%Language:Handlebars 6.3%Language:TypeScript 3.9%Language:Shell 3.1%Language:Dockerfile 1.5%