Yo, what's up guys! ๐ฅณ
This repo Frontend Developer Programming challenge ๐
Please Make sure to use node version
v14.16.0
Default branch is master
. Checkout to the latest branch if main
is not upto date.
git checkout <branch-name>
To install all the dependencies, run
npm install
If you faced any issue while installing dependencies use this command
npm install --legacy-peer-deps
To start development environment, run
npm run start
# or
npm start
Setup to start production server for the first time
sudo npm i -g serve@latest
To start production server, run the following commands
npm run build:maxspace
serve -s -l 8080 build # for specific port
# or
serve -s build #for default port, random if default is used
Check out this link for installation of docker
To run using docker env use the following commands
docker build . -t dockerized-react
docker run -p 3000:3000 dockerized-react