- You need to run
bun install
ornpm run install
to download node_modules package.
- You need to install json-server on you machine
bun install -g json-server
ornpm install -g json-server
. - Run command
bun start:db
ornpm run start:db
to run db.json with json-server-auth.
- To run it in dev environtment with fresh reload, run
bun run dev
ornpm run dev
. - To run it with build source, you need to build the next project first with
bun run build
ornpm run build
command. - Wait until the build process done.
- After the build process done and success, run command
bun run start
ornpm run start
.