Table of Contents
About Me services for GDI.
- GraphQL endpoint for queries and mutations for me as authenticated citizen.
- Validation of email through https://github.com/manishsaraan/email-validator
- Validation of phone numbers through https://github.com/grantila/awesome-phonenumber#readme
- uses precompiled version of Google's
libphonenumber
- phonenumbers are stored in E.164 format (example: +46721234567).
- uses precompiled version of Google's
# install dependencies
yarn
# run tests
yarn test
# run tests and report coverage
yarn coverage
# start web server
yarn start
# start server on port 400 instead of default 3000
PORT=4000 yarn start
# start with debugging output
DEBUG=* yarn start
In order to run, some environment variables must be defined. This is easiest to do by
- ensuring there exists a local
.env
in the project root - copy content from .env.example and change values to what gives meaning
Assuming you have configured a fallback user (thus not requiring a JWT Bearer token), https://cloud.hasura.io/public/graphiql?header=content-type:application/json&endpoint=http://localhost:3000/api/v1/aboutme/graphql should give you some satisfaction.
- Helsingborg Stad Datatorget persistence
- MongoDB persistence
- Change publication to AMQP
- Cases from gdi-cases-server
- Expand model
- Support MongoDB as master
- Change notifications via AMQP
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.