Skip to content

AlisProject/frontend-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-application

CircleCI

Prerequisite

  • nodenv
  • yarn
  • serverless
  • aws cli
  • direnv

Environment valuables

# Create .envrc to suit your environment.
cp -pr .envrc.sample .envrc
vi .envrc # edit

# allow
direnv allow

Also, you should use variables in .envrc.sample.develop when you are developing.

Build and deployment

Install dependencies

# install dependencies
nodenv install
yarn

Build

yarn build

Deployment

yarn deploy

# Re install dependencies
yarn

Development

Serve with hot reload at localhost:3000

yarn dev

Launch server

yarn start

Generate static project

yarn generate