The client side application based on Next.js. The goal of this app is to cover technical requirements.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install:
node=12.16.1
(recommend to use nvm to manage version multiple active node.js versions)
*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
You should create the .env
file with necessary variables. You can take them from the .env.example
.
The development environment are based on node.js. You can run dev
environment using next npm command:
npm run dev
# or
yarn dev
# 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
# Build app
yarn build
# Run builded app
./node_modules/.bin/next start
Deployed to vercel.