Help with finding a good start for a Project
Hello everyone,
I recently started my apprenticeship as a C# Software Developer. I have basic knowledge of C#, HTML, CSS, and SQL Server.
Recently, I got moved into an another team, so I’m not really programming actively anymore. I want to change that and start programming (and also building up my portfolio) in my free time, where I would probably just game anyways.
I was thinking of starting with a “coding tracker.”
Short description: It should be a web app that I will host on my home server. The web app should start off basic and just have a button to “check in/out” -> Saves timestamp in a database. Then another page to display the data in different ways. I was thinking of using SQLite because it is simple and lightweight. In the future, I would like features like:
-> User login
-> Desktop/Phone app (UWP app) to do the same or even try and track specific tasks automatically
-> Somehow being able to, after checking out, link to a specific commit
Those are only plans that sound doable and would probably get me a lot of experience, in my opinion.
The problem is that I am not sure how to make it work. Should I use Blazor so that I have front/backend with pure C# and no other languages really? Or should I go in for JS frontend and C# backend? Does anyone have any idea what the best would be for me? I just need a starting point. I’m ready to learn as much as I need to. Also, if there’s something wrong with my plans, please correct me or suggest something.
Thank you in advance :)
9 Replies
I personally hate web dev, but In this case, a simple HTML form with POST requests should suffice. Also setup a Node.js server or something to receive and save the requests
That sounds pretty straight forward, what excatly would I need to learn to understand/make that work?
HTML Form Action: POST and GET (With Examples)
GET and POST methods define how the form data is sent to the server. The method attribute in the element specifies how the data is sent to the server. HTTP methods declare what action is to be performed on the data that is submitted to the server. HTTP Protocol provides several methods, and the HTML Form element is able to use two methods to sen...
Idk how to process it though
Good luck
I'm not sure if I will go this way, I will definetly look into it and try to learn :)
Use asp.net instead of node to receive the requests, if you want to learn C#
as for how to process it, simply create an endpoint (that matches the "action" attribute of
form
) and tell it to respond to the correct method. Create a DTO that matches the input data and then simply run whatever code you want there. In this case, pushing some kind of data to sqlite.Thank you, I don't fully understand everything tho. Can you maybe clarify a bit (Or just what I should learn about to make it work) :-)
You'll need to be more specific
what exactly do you want to know more about
handling a HTTP request is pretty much the basics of asp.net
You are right, sorry I just started watching microsofts ASP.net tutorial and now I'm starting to understand a bit lol