Skip to content
This repository was archived by the owner on Aug 5, 2023. It is now read-only.

Package scripts

JoshuaLicense edited this page Jun 20, 2020 · 3 revisions

Below is a list of commands you may find useful

yarn start

Starts the application in production mode. You can view the application at localhost:3001.

yarn start:dev

Starts the application in development mode. You can view the application at localhost:3000.

The server and client is started in watch mode and any updates will update localhost:3001 immediately.

yarn start:server & yarn start:client

Start the server or the client of the application separately.

yarn test

Runs all the tests on the application.

yarn build & yarn build:client

The former will build the front-end files with the server front-end include. By appending :client to the command the front-end will only build functionality that is available without the server.

Clone this wiki locally