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
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
apnxmammoth
apnxmammoth3mo ago
I could show the standard structure I follow for all my Web APIs
spit on that Thang CHO BOC
i mean this i do not know the basics i am refferencing
spit on that Thang CHO BOC
GitHub
ICS/src/CookBook at master · nesfit/ICS
Lectures and computer labs storage for ICS course at FIT BUT. - nesfit/ICS
spit on that Thang CHO BOC
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?
spit on that Thang CHO BOC
here is my current
No description
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
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
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
basic WebAPI for selling and buying crops
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
yes i created my ERD and CLASS and USECASE diagrams but thats about it
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
yes, to skip the authentication i used the predefined template of the blazor "individual account"
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
yes linked it up to postgres and i can see the tables
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
hmm i suppose start with BL? creating a page with buttons forms ? i dont know
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
but i need to check if my entities are correct right?
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
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?
apnxmammoth
apnxmammoth3mo ago
Yeah, I can show you some examples and talk you through how I do it if that'll help?
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
oh okay then for my case right now how do I actually test my entities before i use them?
Unknown User
Unknown User3mo ago
Message Not Public
Sign In & Join Server To View
spit on that Thang CHO BOC
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
apnxmammoth
apnxmammoth3mo ago
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
apnxmammoth
apnxmammoth3mo ago
Yeah, you can msg there
spit on that Thang CHO BOC
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)

Did you find this page helpful?