create-grandstack-app's People
create-grandstack-app's Issues
Improve next steps message
In addition to the following output:
➜ ~ npx create-grandstack-app myap
✔ Create GRANDstack App
✔ Creating directory '/Users/lyonwj/myap'
✔ Downloading latest release
✔ Extracting latest release
✔ Installing Packages
✔ Checking compatibility
✔ Installing dependencies for 'api'
✔ Installing dependencies for 'ui-react'
Thanks for trying out GRANDstack! We've created your app in '/Users/lyonwj/myap'
You can find documentation at: https://grandstack.io/docs
add additional instructions for
- how to install / configure Neo4j (recommend Neo4j Sandbox)
- how to populate .ENV
- how to start the api and ui applications
- ?? what else?
Personalize success output for npm or yarn
Take credentials and populate .env file
Allow the user to specify credentials to a Neo4j instance which are then used to populate the /api/.env file
This could be done interactively (with defaults) or as command line args
Add support for npm
Currently dependencies are installed with yarn, regardless of being invoked with
yarn create grandstack-app myapp
or
npx create-grandstack-app mynewapp3
so add a --use-npm
flag to install dependencies with npm instead of yarn.
Similar to: https://github.com/facebook/create-react-app/pull/3409/files
Work with Flutter case and template choices
Fallback to npm fails if yarn is outdated
Error: node >=12.0.0 required, but found 12.9.1
yarn >=1.15.0 required, but found 1.13.0
Currently if yarn is available but outdated then the fallback to npm fails. Instead of erroring after version check, try fallback to npm
Add Typescript Support
Nowadays, most people use TypeScript, so I highly recommend to add --template
flag to the user be able to choose between JavaScript and TypeScript
readme video still has `ui-react` not `web-react`
Add API only option
Add an option for no front-end template, only the API application
Add options for inferSchema during initialization
Replace hardcoded business schema
Add option(s) to specify frontend framework
The starter currently includes frontend implementations in React and Angular located in ./ui-react
and ./ui-angular
respectively. Currently, both directories are included when running create-grandstack-app but only the dependencies for React are installed by default.
Instead, add options to create-grandstack-app
to specify which frontend implementations should be included.
Perhaps something like:
npx create-grandstack-app --use-react --use-angular
Add project overview in success statement
Add more descriptions about the starter
- Information about the business reviews example
- How to seed db on an empty database
Running npx create-grandstack-app fails with errors
Running this command
npx create-grandstack-app fizzbuzz
fails with the following error
(base) ➜ ~ npx create-grandstack-app fizzbuzz
/Users/lyonwj/.npm/_npx/61973/bin/create-grandstack-app: line 1: use strict: command not found
/Users/lyonwj/.npm/_npx/61973/bin/create-grandstack-app: line 3: syntax error near unexpected token `"./utils"'
/Users/lyonwj/.npm/_npx/61973/bin/create-grandstack-app: line 3: `require("./utils").main(process.argv);'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.