Amplicode Create App
Scaffold an amplicode app base structure
Options
--appName - Name of the new application in kebab case (e.g: 'amplicode-app')
--template - Template of the application (e.g: 'react-admin', now only one available)
--serverUrl - Rest api uri (e.g: 'http://localhost:8000')
--targetDir - New emty directory (default: './')
--schema - Array of resources (default: []) // [{entity: 'owner', screens: ['list', 'show']}]
Example: npm create amplicode@latest --appName test-app --template react-admin serverUrl http://localhsot:8080 --targetDir /Users/artemsafronov/Workspace/test-app --schema [{entity: 'owner', screens: ['list', 'show']}]
Development
npm i
npm run watch
Build
npm run build