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.gitnpm iIf 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 startnpm testnpm run code:lintnpm run code:checknpm run code:prettiernpm run snyk-protectThe 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:prettierAny improvement will always be welcome. 🚀 😄