Skip to content

FadyAmir223/allbirds

Repository files navigation

clone of allbirds.com but better

demo: https://allbirds-beta.vercel.app

video: https://youtu.be/sx6gAqcOGP8

requirements:

  • docker

usage:

development

npm run dev
npm run dev:down

server test

mongodb-memory-server needs non-alpine node image so i will test locally requirements:

  • npm
  • mongodb
npm run test --prefix=server

production test

npm run compose:prod -- up -d
npm run compose:prod down

rebuild

npm run compose:prod -- build [service]
npm run compose:prod -- --force-recreate [service]

production

npm run prod

run a command

npm run client/server [command]

using husky for lint-staged

git config core.hooksPath client/.husky