1.1.3 • Published 4 years ago
cra-template-cultum-fe-starter-kit v1.1.3
Cultum Front-end Starter Kit
Basic project structure organizations and start point for a new project
Getting Started
~ Clone project into your local projects folder:
git clone git@gitlab.com:Venumteam/cultum-fe-starter-kit.git
~ Open cloned project in the IDE
*deploy information goes here
Basic flow example:
- MR's should be created to develop branch
- When merged, release branch can be created and merged to the master branch
- To deploy staging master should be merged to the staging
- To deploy production staging should be merged to the production branch
Prerequisites
To work on this project you should install:
IDE- code editorgit- version control systemnvm- node version package managernodejs- checknvmrcfile in the root to get the right version and install package vianvmyarn- package manager
default API or local ports you can find in the .env.example
Installing
Steps to run application in the DEV environment:
yarn- install all required packages- copy
.env.example.localto the root and create.env.localfile yarn dev- run local server
Steps to run application in PROD environment:
- 1 & 2 steps from the steps above, if not already used
yarn build- builds the projectyarn start- start prod environment
Additional Scripts
type-check- run the type checking processformat- run prettier for your current changeslint- run lint check
Coding style
- Project has configured
Prettierwhich helps stick to rules of coding style. - Check the shortcuts for your
IDEto runPrettierfor current file
Deployment
Every merge request which merged to Staging or Prod branches runs the deployment process to corresponding live
environment
1.1.3
4 years ago