Coder Social home page Coder Social logo

dalufishe / gen-express-app Goto Github PK

View Code? Open in Web Editor NEW
78.0 78.0 5.0 259 KB

Alternative to express-generator, an easy-to-use tool for generating express applications.

Home Page: https://www.npmjs.com/package/gen-express-app

License: MIT License

JavaScript 81.18% CSS 1.33% HTML 1.38% EJS 0.90% Handlebars 0.87% Pug 0.82% TypeScript 13.52%
express nodejs typescript

gen-express-app's Introduction

感謝所有贊助者及使用者!你們的支持是我進步的動力!

贊助者名單 (Supporters) 👼

美元匯率依 31.5 計算

長期支持者 (Membership)

  • 鶴鶴唷 - 10 USD / 月
  • IANSUNG - 10 USD / 月

一次性贊助 (Donate)

  • 147 - 420 USD
  • 喬治 - 143 USD
  • ex嘎裡棒 - 83 USD
  • 帥哥 - 50 USD
  • 傻咩 - 32 USD
  • Daddy Shark - 32 USD
  • Hansel - 30 USD
  • roy20001215 - 20 USD
  • 匿名贊助者 - 20 USD
  • Winter - 19.05 USD
  • robin5968 - 10 USD
  • JasonH - 10 USD
  • RR - 10 USD
  • grag1023 - 10 USD
  • Verla - 10 USD
  • rick - 10 USD
  • utoqq - 10 USD
  • Godwin - 10 USD
  • Someone - 10 USD
  • @SmallYuan4 - 8 USD
  • DomoHurts - 8 USD
  • Kuroko - 7 USD
  • 阿瑋阿瑋 - 5 USD
  • DONG - 5 USD
  • 🧃好喝 - 5 USD
  • Yamiae - 5 USD
  • Dexter - 5 USD
  • 瘋狗 -5 USD
  • howard52059 - 5 USD
  • LilaS - 5 USD
  • KEKEKE - 5 USD
  • en919 - 5 USD
  • joshua3310 - 3 USD
  • 真蓮 - 3 USD
  • 亞二氫 - 3 USD
  • 匿名贊助者 - 3 USD
  • 701 - 3 USD
  • 長長貓 - 3 USD
  • Ray - 2 USD
  • powerdbb - 1 USD
  • Devil - 1 USD
  • 高粱九 - 1 USD
  • 匿名贊助者 - 1 USD
  • 匿名贊助者 - 1 USD
  • 匿名贊助者 - 1 USD

gen-express-app's People

Contributors

dalufishe avatar leonardovin avatar the-az-dev avatar vocaloid2048 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gen-express-app's Issues

Can't create a project

It doesn't seem to accept any name.

ile@ilepc:~/src/sc2$ eg new testi1
> Project must contains only:
  - at least 5 characters
  - lower case type of name
  - project name may contain '_' and '-' characters.
Please re-enter the project name.
? Project Name: testi1
> Project must contains only:
  - at least 5 characters
  - lower case type of name
  - project name may contain '_' and '-' characters.
Please re-enter the project name.
? Project Name: testi1
> Project must contains only:
  - at least 5 characters
  - lower case type of name
  - project name may contain '_' and '-' characters.
Please re-enter the project name.
? Project Name: express-app
> Project must contains only:
  - at least 5 characters
  - lower case type of name
  - project name may contain '_' and '-' characters.
Please re-enter the project name.
? Project Name: express-app
> Project must contains only:
  - at least 5 characters
  - lower case type of name
  - project name may contain '_' and '-' characters.
Please re-enter the project name.
? Project Name: tasrt
> Project must contains only:
  - at least 5 characters
  - lower case type of name
  - project name may contain '_' and '-' characters.
Please re-enter the project name.

Supporting component generation (like on Angular CLI, ex. ng new component <component_name>)

I like your project and I want support this project too adding new features to this package. I made similar(but in very easy style) package for my diploma and add supporting .egen script file which can help generating not only start project, but can generate start components for bask-end like Models from DB, Controllers(providers), etc. And I want add this features to your project:

  1. Supporting and creating cli config file for better project analizing
  2. Adding command and modules for generating new components in generated ExpressJS project (controllers, services, DB supporting, etc.) like on NestJS CLI (ex. nest generate controller or nest generate application for adding MVC pattern or more powerfull)
  3. Generating project based on cli config file
  4. Personal runner for ExpressJS projects (like on Angular - ng serve)

Can I support this project and add it list of feteares to your package?

Dev Server crashes after creating project

Hey,
wanted to try out this generator since I want to use Express with TS.

However whenever I create a new project with eg new new_project and select Typescript or Typescript + MVC, cd into the project and type npm run dev I get the following output:
Screenshot 2024-05-29 at 20 38 18

Node Version: 21.7.0
package manager: npm
view: pug

Create new label for gen-express-app package!

Since the project has its regular users and there is an opportunity to extend this package to more users, why don't we rename the package “egen”? This will help users remember the package better and increase the user audience. What do you think about this idea?

outdated dependencies in generated package.json

First: Nice work!
I'm learning some server-side js and this tool is of high value to me. It's confusing for someone like me to understand why the most popular backend framework in javascript still uses old practices such as commonjs.

Anyway, here's my question/issue:

Is there a reason for some of the package.json dependencies to require outdated versions? some of them are limiting the update to only patches (using ~)...

Here's what i just got in my generated package.json and what is the latest version of each package:

INSTALLED                                LATEST VERSION       
--------------------------------------   --------------
  "dependencies": {	                     
    "cookie-parser": "~1.4.4",           1.4.6
    "debug": "~2.6.9",                   4.3.4
    "dirname-filename-esm": "^1.1.1",    up to date
    "dotenv": "^16.3.1",                 up to date
    "ejs": "~2.6.1",                     3.1.9
    "express": "~4.16.1",                4.18.2
    "hbs": "~4.0.4",                     4.2.0
    "http-errors": "~1.6.3",             2.0.0
    "morgan": "~1.9.1",                  1.10.0
    "pug": "2.0.0-beta11"                3.0.2
  },                                     
  "devDependencies": {                   
    "gen-express-app": "^0.2.5",         0.2.9
    "typescript": "^5.2.2",              5.3.2
    "nodemon": "^3.0.1",                 up to date
    "@types/cookie-parser": "^1.4.5",    1.4.6
    "@types/express": "^4.17.20",        4.17.21
    "@types/http-errors": "^2.0.3",      2.0.4
    "@types/morgan": "^1.9.7",           1.9.9
    "@types/node": "^20.8.10"            20.9.5

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.