Skip to content

pkcwong/conjur-express

 
 

Repository files navigation

Conjur-Express

https://github.com/pkcwong/conjur-express

GitWorkflow

A full stack boilerplate with ExpressJS + ReactJS.

Prerequisites and Installation

Install the following frameworks and packages.

Verify the installation.

node --version
yarn --version

Clone this repository.

git clone https://github.com/conjur-dev/conjur-express.git
cd conjur-express
git submodule update --init --recursive

Install frontend dependencies.

cd client
yarn install

Install backend dependencies.

yarn install

Development

A 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:dev

Start the development frontend server, default listening on port :3000.

cd client
yarn start:dev

Production

A 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 build

Build the backend server. The output would be in /build.

yarn build

These 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • Dockerfile 10.0%