Skip to content
/ my-web Public

This is a website built by MERN - Mongodb, Express, React, Node.

Notifications You must be signed in to change notification settings

cdztt/my-web

Repository files navigation

A website built by MERN - Mongodb, Express, React, Node

Dev & Deploy

development

  • SPA
  1. on a terminal, run npm run serve to start a data server
  2. on another terminal, run npm run dev to serve the app files
  3. visit https://localhost:4444
  • SSR
  1. on a terminal, run npm run build:client to build the client assets and watch for files changes
  2. on another terminal, run npm run build:server to build the app server and watch for files changes
  3. on another terminal, run npm run start to start the app server
  4. visit https://localhost

production

  • SSR
  1. on a terminal, run npm run build:production to build the app
  2. then, run npm run start to start the app server
  3. visit your website, mine is https://cdztt.cn

About

This is a website built by MERN - Mongodb, Express, React, Node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published