hameltomor / join-react-test

Home Page:https://join-react-test.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Join react test

The client side application based on Next.js. The goal of this app is to cover technical requirements.

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:hameltomor/join-react-test.git

Next you should to install npm dependencies of project:

npm install
# or
yarn dev

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:

npm run dev
# or
yarn dev

Docker

# Build image
docker build --tag join-react-test:1.0 .

# Run image
docker run --detach --publish 3000:3000 --name join_react_test join-react-test:1.0

Production environment

# Build app
yarn build

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

Preview version

Deployed to vercel.

About

https://join-react-test.vercel.app


Languages

Language:TypeScript 72.1%Language:CSS 23.9%Language:JavaScript 3.4%Language:Dockerfile 0.6%