Skip to content

secure-for-ai/secureai-example-pg

Repository files navigation

Micro Service Example

This example uses micro service framework and graphql. The demonstrates sql operations for a user such as insertion, deletion, update, and query. In addition, the example includes an example for security check before calling graphql. Using this template, one can quickly develop a backend server.

How to run

  • Start docker compose

    docker-compose up
  • Initial Mongo

    # login mongo
    mongo --port 27017 --host=localhost --authenticationDatabase=admin \
        -p password --username test
    # setup replication with single master
    rs.initiate({_id: "rs0", members: [{_id: 0, host: "localhost:27017"}] })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages