Veritone Fullstack Coding Challenge.
- Clone the project:
mkdir -p ~/work/challenge & cd ~/work/challenge
git clone https://github.com/YuZhaoping/veritone-challenge.git veritone
- Build PostgreSQL docker image & run PostgreSQL docker container:
cd ~/work/challenge/veritone
./dbs/PostgreSQL/docker-cmd/build-image.sh
./dbs/PostgreSQL/docker-cmd/run.sh
- Run the mall backend service server:
cd ~/work/challenge/veritone/ms/mall
npm install
npm run dev
The web server is listening at 3000
port as default.
Use Ctrl+C
to terminate the server.
- Or run the mall backend service as docker container:
cd ~/work/challenge/veritone
./ms/mall/docker-cmd/build-image.sh
./ms/mall/docker-cmd/run.sh
- Run the challenge app front end:
cd ~/work/challenge/veritone/front-end
npm install
npm run dev
The web server is listening at 8080
port as default.
Use Ctrl+C
to exit the web server.
- Or run the front end as docker container:
cd ~/work/challenge/veritone/front-end
npm install
npm run build
./docker-cmd/build-image.sh
./docker-cmd/run.sh