Giter VIP home page Giter VIP logo

create-grandstack-app's People

Contributors

dependabot[bot] avatar ed42311 avatar johnymontana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mmmika ed42311

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?

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

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

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

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.