serverless-graphql-base-project
v1.0.0
Published
Base template for a graphql microservice, the service should export a graphql schema
Downloads
2
Readme
Bytesansokan API
getting started
- npm install
CreateApplicant endpoint
- Find url to the endpoint in the AWS Console -> API-gateway
- Make a post request with body according to example request below, the password can be found in basecamp documents -> Accounts & Credentials
{
"Password": "pass"
"Applicants": [
{
"Id": 633384,
"Members": {
"Member1": {
"Email": "[email protected]",
"Name": "Kalle",
"Ssn": "880404-0031",
"Phone": "123123123",
"ApartmentId": "633384.apartment1",
},
"Member2": null,
},
"Apartments": {
"Apartment1": {
"Landlord": null,
"Address": "Gratisgatan 12",
"PostalCode": "16433",
"City": "Kista",
},
"Apartment2": null,
},
},
{
"Id": 377542,
"Members": {
"Member1": {
"Email": "[email protected]",
"Name": "Josefine Holmberg",
"Ssn": null,
"Phone": "0739377805",
"ApartmentId": "377542.apartment1",
},
"Member2": null,
},
"Apartments": {
"Apartment1": {
"Landlord": "tingstr?ms",
"Address": "Rusth?llarv?gen 99",
"PostalCode": "12843",
"City": "Bagarmossen",
},
"Apartment2": null,
},
},
],
}