Giter Site home page Giter Site logo

create-panda-app's Introduction

Create Panda App

Create a new Panda application with one command

Quick Start

Creating a new Panda app with create-panda-app is super easy:

npx create-panda-app new-app
cd new-app
npm start

Then open http://localhost:5000 to see your app.

Requirements

  • Node v14 or later

That's it.

Documentation

ToDo

So much to do...

  • Swap basic scaffold to kitchen-sink and create a more stripped down, simple version of basic
  • Clean up UI of basic scaffold and add more comments into routes, views and services
  • Add README.md file to project scaffolds
  • Update documentation provided in new apps to better reflect need-to-know info
  • Update this README to include more info on how create-panda-app works and its flags & configuration
  • Add new scaffold(s) for other base app types (React, Lit, etc)
  • Tie build process into existing scaffolds
  • Build in live-updating of content
  • Update --interactive flag to run list of input questions

create-panda-app's People

Contributors

adampuzio avatar

Stargazers

 avatar

Watchers

 avatar

create-panda-app's Issues

Install broken on Windows

Issue pops up when attempting to install on a Windows machine:

C:\Users\Joseph>cd new-app

C:\Users\Joseph\new-app>npm start

> [email protected] start
> node index

node:internal/modules/cjs/loader:1039
  const err = new Error(message);
              ^

Error: Cannot find module 'C:\Users\Joseph\new-app\node_modules\pandaseappsweb.app.js'
Require stack:
- C:\Users\Joseph\new-app\node_modules\moleculer\src\service-broker.js
- C:\Users\Joseph\new-app\node_modules\moleculer\index.js
- C:\Users\Joseph\new-app\node_modules\panda\src\hub.js
- C:\Users\Joseph\new-app\node_modules\panda\panda.js
- C:\Users\Joseph\new-app\index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Function.resolve (node:internal/modules/cjs/helpers:109:19)
    at ServiceBroker.loadService (C:\Users\Joseph\new-app\node_modules\moleculer\src\service-broker.js:774:20)
    at C:\Users\Joseph\new-app\node_modules\panda\src\hub.js:138:107
    at Array.forEach (<anonymous>)
    at PandaHub.run (C:\Users\Joseph\new-app\node_modules\panda\src\hub.js:135:13)
    at async run (C:\Users\Joseph\new-app\index.js:12:3) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\Joseph\\new-app\\node_modules\\moleculer\\src\\service-broker.js',
    'C:\\Users\\Joseph\\new-app\\node_modules\\moleculer\\index.js',
    'C:\\Users\\Joseph\\new-app\\node_modules\\panda\\src\\hub.js',
    'C:\\Users\\Joseph\\new-app\\node_modules\\panda\\panda.js',
    'C:\\Users\\Joseph\\new-app\\index.js'
  ]
}

Node.js v18.13.0

The line Error: Cannot find module 'C:\Users\Joseph\new-app\node_modules\pandaseappsweb.app.js' leads me to believe it has to do with the parsing of files in Windows vs. Unix systems.

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.