https://github.com/pkcwong/conjur-express
A full stack boilerplate with ExpressJS + ReactJS.
Install the following frameworks and packages.
Verify the installation.
node --version
yarn --versionClone this repository.
git clone https://github.com/conjur-dev/conjur-express.git
cd conjur-express
git submodule update --init --recursiveInstall frontend dependencies.
cd client
yarn installInstall backend dependencies.
yarn installA development environment consists of a backend dev server and a front end dev server.
Start the development backend server, default listening on port :8080.
yarn start:devStart the development frontend server, default listening on port :3000.
cd client
yarn start:devA production environment consists of a production build frontend served by a production build backend server.
Create an optimized frontend production build. The output would be in /client/build.
cd client
yarn buildBuild the backend server. The output would be in /build.
yarn buildThese build artifacts should be used in production server.
README.md
package.json
yarn.lock
/build
/client/build
Start the backend server. It serves the frontend build from /client/build.
yarn start