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