This project soon will features Jest & Enzyme testing for Front-End and Jest & Supertest testing for backend.
There will be also tutorial here as well as documentation in the code to make it clear.
To use respectively run following commands:
- Run mongod (or setup a mongo URI in /server/config/mongo.js)
- npm install || yarn install
- npm run install-client || yarn install-client
- npm run install-server|| yarn install-server
- npm start || yarn start
You can also cd client
|| cd server
then run npm run test
|| yarn test
Server side GraphQL setup
Add tests for DB Models
Add DB Models
Setup server side GraphQL unit testing
Add tests for Apollo Store
Setup Apollo Store
Add tests for Redux Store
Setup Redux Store
Add tests for UI
Make a UI