Skip to content

yao-dev/next-app-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

git clone [email protected]:yao-dev/next-app-generator.git next-app-generator
cd next-app-generator && npm link
cd ../

Use cases

Create new app

yo next-app-generator new-app

Create new page

yo next-app-generator:page homepage

And go to http://localhost:3000/homepage

Create new component

yo next-app-generator:component component-name

Start app

Enter in new-app project then run :

Dev mode

npm run dev

Prod mode

npm run build
npm run start

Unit tests & coverage

npm test

With coverage

npm run test:coverage

And go to (path/of/your/system/new-app/coverage/lcov-report/index.html)

Deploy with now.sh

npm run deploy

About

Generate a fullstack Next.js app based on (Express.js, ES6+, Babel, Jest)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published