Skip to content

Assistants-Technologies/Fastify-NextJS-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastify+Next.js Sample

Installation

yarn install

Usage

DEV ENVIRONMENT

  1. Change line 2 in index.js to:
const dev = false;
  1. Run in cmd
node index.js
  1. DEV url: http://localhost:3000/sample

PROD ENVIRONMENT

  1. Change line 2 in index.js to:
const dev = true;
  1. Run in cmd:
yarn next build
  1. Run in cmd
node index.js
  1. PROD url: http://localhost/sample

About

Fastify with Next.js Sample Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published