technical test in Golang for a recruiting process
Then, pull the latest Dgraph version with:
docker pull dgraph/dgraph:v20.03.0
mkdir -p ~/dgraph
docker run -it -p 5080:5080 -p 6080:6080 -p 8080:8080 \
-p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgraph --name dgraph \
dgraph/dgraph:v20.03.0 dgraph zero
docker exec -it dgraph dgraph alpha --lru_mb 2048 --zero localhost:5080 --whitelist 0.0.0.0/0
docker exec -it dgraph dgraph-ratel
cd into backend/dgraph_setup/ and then hit:
go run main_schema.go
cd into backend/api/ and then hit:
go run main.go
the web-app will be listening and serving on port 3000
cd into the folder technical_test_Go/frontend and install all the packages running:
npm install
npm run serve
Author: julianfrancor
Source Code: https://github.com/julianfrancor/technical_test_Go
#vue #vuejs #javascript #golang