Pelican is an e-commerce application that sells cellular phones with data plans and charges monthly subscriptions using Stripe.
- Node v16.10.0
- Next.js
- Apollo
- storybook
- cypress
- Atomic Design
- Chakura
- Jest / React Testing Library
- express
- Graphql
- mongoose
- jest
- Github Action
- Docker
add env.local in server
NODE_ENV=development
docker-compose down
docker-compose --env-file .env up --build
docker-compose --env-file .env up -d // if building is already done
## only once
docker-compose exec mongodb bash
/mongo/setup.sh
http://localhost:3000
http://localhost:4000/graphql
http://localhost:6006/
Error
mongodb-seed_1: setup.sh: Permission denied
Solution
chmod +x mongo/setup.sh
docker-compose up --build
Error Read timed out. (read timeout=60)
Restart docker or run the command in the following link
https://stackoverflow.com/a/52135934/9792009
docker-compose exec client bash
yarn test:watch
docker-compose exec server bash
yarn test:watch