Skip to content

areffects/masks.fe.landing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masks Front Landing

The client side application based on Next.js.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install:

  • node=12.16.1 (recommend to use nvm to manage version multiple active node.js versions)

Installing

*If you use nvm, you should to execute the next command:

nvm use

To the first you need to clone project:

git clone git@github.com:areffects/masks.fe.landing.git

Next you should to install npm dependencies of project:

yarn

Usage

You should create the .env file with necessary variables. You can take them from the .env.example.

Development environment

Locally

The development environment are based on node.js. You can run dev environment using next npm command:

App

yarn dev

Storybook

yarn storybook

Docker

App

# Build image
docker-compose build app

# Run image
docker-compose up -d app

Storybook

# Build image
docker-compose build storybook

# Run image
docker-compose up -d storybook

Production environment

# Build app
yarn build

# Run builded app
./node_modules/.bin/next start

Apollo Graphql

Need to write.

Linter

Need to write.

End-to-end testing

Need to write.

Unit testing

Need to write.

Deploy

Need to write.