Daze API
Steps to run this project:
- Run
npm i
command - Setup database settings inside
ormconfig.json
file - Run
yarn start
command to start server Or Runyarn test
command to launch tests - Go to http://127.0.0.1:4000/graphql : To test registation run mutation{ register (email: "whatever you want",password: "what ever you want"){ path, message, resultCode } }
You can test different use case : already used email, invalid email, invalid password ..