A simple API GraphQL for experiencing testing frameworks
- MongoDB
- Node & Npm
It follows one step by step showing how to get the API running.
git clone https://github.com/fredmoreira/phone-book-graphql.git
npm i
If you don't have the MongoDB database installed on your local machine, remember to run it via command line or another way before running the command below.
npm start
npm test
npm run code:lint
npm run code:check
npm run code:prettier
npm run snyk-protect
The precommit is done by git hooks by package husky.
Therefore, whenever a commit is done, the following script will be executed:
npm run code:lint && npm run code:prettier
Any improvement will always be welcome. 🚀 😄