duocun-mall is a shopping mall frontend using duocun-api as its backend
git clone https://github.com/duocun/duocun-mall.git
cd duocun-mall
npm i
npm i -g ionic
npm run start
You can set a different port:
ionic serve --port 5008
IMPORTANT Backend api should be running at 8000 port. Otherwise, test should fail.
ng test
npm run lint
npm run prettify
ionic build --prod
Start docker container.
docker-compose up -d
Once docker container is up and running go to http://localhost:5008