Web API: structure
Hello, I have finished my DAL -> entities and their db context but what is next i dont know anybody and google didnt help much with my usecase
31 Replies
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
I could show the standard structure I follow for all my Web APIs
i mean this
i do not know the basics
i am refferencing
GitHub
ICS/src/CookBook at master · nesfit/ICS
Lectures and computer labs storage for ICS course at FIT BUT. - nesfit/ICS
my uni lectures
but its not a Web app
so i just created DAL -> entities and what do i need to now i mean systematically
Mappers? Factories? BL? Facades?
here is my current
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
i am just really clueless rn so i just go off claude ai and gpt suggestions on how to "move on"
both claude and gpt said i should start with DTO...?
or if you have some literature on the basic structure for this type i would gladly appreciate
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
basic WebAPI for selling and buying crops
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
yes
i created my ERD and CLASS and USECASE diagrams but thats about it
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
yes, to skip the authentication i used the predefined template of the blazor
"individual account"
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
yes
linked it up to postgres
and i can see the tables
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
hmm i suppose start with BL? creating a page with buttons forms ?
i dont know
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
but i need to check if my entities are correct right?
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
what is the basic flow generally i guess
like systematically
i did entities -> do this-> to do this i have to do this-> check this before doing this etc,
like a recipe
i guess i have to check somehow my entities is created correctly
i remember distantly i can generate a map somehow
@apnxmammoth do you have some advice on this?
Yeah, I can show you some examples and talk you through how I do it if that'll help?
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
oh okay then for my case right now how do I actually test my entities before i use them?
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
oh..
even relations? no fool proof huh
if you have really nothing to do i would gladly appreciate it
i want to definetly learn this
Yeah, just pop me a message or something and then I'll be with you in a bit. Just quickly in a game with a friend
DMs?
Yeah, you can msg there
or we can do it here actually no file limit or some discord bs
I would like to see the workflow if it can be just followed (no brained)