API Engineers #10
Replies: 25 comments 99 replies
-
Please use: https://docs.nestjs.com/graphql/quick-start |
Beta Was this translation helpful? Give feedback.
-
I assume all code for any api's should go in apps/api? Can anyone confirm. |
Beta Was this translation helpful? Give feedback.
-
SO the data engineers will use prisma to model the data and manage the database. Then we, the API Engineers should use graphQL to query the database? Should we then follow these guidlines: https://www.prisma.io/graphql#graphql-tabs ? Or am I wrong? |
Beta Was this translation helpful? Give feedback.
-
The API engineers should meet soonish I think to discuss the planning of the schema I believe is the right word for the api's. |
Beta Was this translation helpful? Give feedback.
-
A meeting on Monday to get the ball rolling is that okay with all API Engineers at 17:30 does that work with all of us ?? |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder You said for my group(fortran) feature Storage the implementation for an api with graph ql is ugly in terms of running it through docker or firebase , then you went on and said maybe use a rest api does that mean my group has an exception that just having a rest api with nest js ?? |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder Good day I hope you are well, for my group(basic) you mentioned that I as the API engineer to to build the API for the hosting status page, as well as helping with the deployment of the API app itself. I understand what I need to do for the status page however could I please gain clarity on what is expected of me with regards to helping with the deployment of the API app. |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder Should a separate API page be created on the wiki describing how to call the different API's and such or should it be put under the API Architecture heading? |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder just wanted to clear something , does the schema that the api engineer does end up being the schema used by the data engineer to design their database or are those two separate concerns ? And does the data engineer create the database and design the data base and then the api engineer creates the schema , api and along with that creates and validates the endpoints ?? |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder I saw somewhere that we need to have a mock API done by this Sunday. Once we have created this mock API should we submit a pull request with it? |
Beta Was this translation helpful? Give feedback.
-
@COS-301/api-engineers There is a meeting on Monday 21st of March at 17:00 please let me know if you are unable to attend so I can see if a different meeting time should be planned. |
Beta Was this translation helpful? Give feedback.
-
So how I understand everything to work on the API side we will generate a schema using the code first approach and how our API's will be queried is by the UI engineers sending a request to the appropriate endpoint where the request is a JSON object matching the GraphQL schema. Is this line of thinking correct? |
Beta Was this translation helpful? Give feedback.
-
Is this basically what you would want to see as a mock api ? , and should we make pull requests with our mock api's @arneschreuder |
Beta Was this translation helpful? Give feedback.
-
Has anyone else run into the following error when try to run npm:
I have searched all over the internet, reinstalled my node.js but nothing seems to be working. The error seems to have started after I upgraded to node.js 16.14.2 (LTS) I also tried to update to node.js 17.7.2 (Current) but nothing seems to be working. I would appreciate any help. |
Beta Was this translation helpful? Give feedback.
-
What emoji should we use for a mock api commit? |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder When branching I used git checkout ... instead of git workflow. After my merge, under actions there are "errors" on the workflow runs which state that the workflow was not found. Is this an issue? Or can I delete the workflow runs? |
Beta Was this translation helpful? Give feedback.
-
@COS-301/api-engineers make sure all your paths use @graduates/......... notation changing mine now and try make PR again , i think that is what is causing the PR issues |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder after you fix the problem of the PR's could you just explain the mistakes we made so they are not made again is it only that we were not using the @graduates/path notation for importing other libraries in other projects or it is much more than that?? |
Beta Was this translation helpful? Give feedback.
-
Just to confirm before we all go in blind but I controller is not necessary and we will be using a resolver instead? |
Beta Was this translation helpful? Give feedback.
-
@COS-301/pascal your student profiles feature seems to be preventing the API from running. See the screenshot below |
Beta Was this translation helpful? Give feedback.
-
@COS-301/api-engineers Which team deals with logging in a user? I want to know how the session would be storage. More specifically, how would one retrieve the details (either user id or token) of the currently logged in user? |
Beta Was this translation helpful? Give feedback.
-
I am just struggling to find a way to let the user of my API know that the item they requested for does not exist, I would like to do a custom graphql error message but am struggling to figure out how to do so and currently am just returning an entity with null fields. |
Beta Was this translation helpful? Give feedback.
-
@arneschreuder My nx console did not generate the spec file, can I just create it myself or what should I do? |
Beta Was this translation helpful? Give feedback.
-
@COS-301/api-engineers |
Beta Was this translation helpful? Give feedback.
-
Did you import APIAuthorisationResolver from the right path?
…On Mon, 18 Apr 2022 at 20:56, Phumudzo V. Ndou ***@***.***> wrote:
[image: WhatsApp Image 2022-04-18 at 8 30 47 PM]
<https://user-images.githubusercontent.com/49733146/163860082-1222765d-cdff-45a1-a214-71a923aaf396.jpeg>
@COS-301/api-engineers
<https://github.com/orgs/COS-301/teams/api-engineers>
@COS-301/data-engineers
<https://github.com/orgs/COS-301/teams/data-engineers>
@COS-301/services-engineers
<https://github.com/orgs/COS-301/teams/services-engineers>
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWJVC6D4BV3C5MQPOKB4Q23VFWV63ANCNFSM5PPAPVSQ>
.
You are receiving this because you are on a team that was mentioned.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This is the discussion board for and with API Engineers.
Beta Was this translation helpful? Give feedback.
All reactions