This provides a basic NodeJS example project that uses Aphrodite
.
- The schema is located in
src/domain.aphro
- A simple application is in
src/main.ts
First, clone this repository
git clone git@github.com:tantaman/aphrodite-node-starter.git
Next, cd to aphrodite-node-starter
and install dependencies.
cd aphrodite-node-starter
npm install
The commands to build and run are the "demo app" are:
npm run build
npm run main
If you change the schema and want to re-generate the generated code, run
npm run aphro
For more info, see the Aphrodite
quickstart guide