r/learnprogramming • • 5d ago

Help with DB

Starting January I'm supposed to restructure/give a UI to an entire government branch database, is there any courses or recommendations to get me to a somewhat competent level in 2 months? I know it'll take more time to really know what I'm doing, I've just done some webdev and played with game engines so I don't expect to become a senior in just 2 months but PLEASE ANYTHING WOULD HELP A TON

2 Upvotes

14 comments sorted by

2

u/Acceptable-Fig2884 5d ago

Is this for the FAA?

1

u/kimo1441 5d ago

No US based but in sight of recent events it very well could be lmao

2

u/Acceptable-Fig2884 5d ago

Couldn't resist the joke! Building UI for a DB is a fairly big job but it's not necessarily complicated, depending on how flexible you want it to be. I'm probably not the best resource but I'd start by learning the query language the DB uses (most likely some version of SQL), getting familiar with the schema for that DB, and then thinki g about access concerns, who can edit data and what data they can edit along with who can view data and what data they can view. You also need to think about whether users can add new fields to the DB or if the tables are going to stay as they are, and also whether users can customize their view/build dashboards, or if they can only look at predetermined pages.

1

u/kimo1441 5d ago

Thx! I don't really understand the scope, cause they talked about information they had about people and how they needed to store it, then they talked about how in their page people put their information more than once, and then they said how they needed an entire overhaul of their system so I guess everything?

2

u/MyNameIsRichardCS54 5d ago

Oh, you have to do the DB as well? In that case you will need to know what DB they use so you can learn it's dialect of SQL. In the mean time you can use MariaDB to learn the basics as it's free. Most of what you learn will transfer across databases.

You should definitely understand the scope before you start. Not understanding the scope is how you get a project from Hell.

1

u/kimo1441 5d ago

Yeah, I'm supposed to get more info on it by next week but there's not that much time to spend just waiting so that's why I'm already looking, also the information they've given me so far isn't that accurate or useful so I don't know if anything they say from now on can really help/make any difference

1

u/MyNameIsRichardCS54 5d ago

Is it a web UI or a native UI. If it's native, what operating system will it need to run on?

2

u/kimo1441 5d ago

That's also the thing, they don't know shit about their system, they just told me it was bad and asked me about what programming langages I knew, I answered and they said "any of those will do" ?????? Like tf

1

u/kimo1441 5d ago

They mentioned it as a program so I think native maybe? And everyone is just running windows as far as I know

2

u/MyNameIsRichardCS54 5d ago

OK, so native, in that case, c# with winforms or whatever it's called.

1

u/MyNameIsRichardCS54 5d ago

In that case, I would suggest a web application and either Java with Spring Boot or C# with asp.net. Also some html, css and javascript.

I think you're asking a lot to be ready in two months though.

1

u/kimo1441 5d ago

Yeah I know, it wasn't my plan, they said they needed help with their website so I thought it would be like info website or smthn but then they hit me with that curveball, I tried telling them it was too much for me but they said I could totally do it

2

u/baked_salmon 5d ago

First off, don't freak out because if you're as incompetent as you think you are, it reflects really badly on them. Remember that they hired you, and assuming you didn't misrepresent yourself, it's their fault if they thought you were competent enough for whatever they need you to do.

Your problem is very underspecified so there's no reason to freak out about what you don't know about. Do know that "putting a UI in front of a DB" is about as rote as it gets in software engineering, so you're not doing anything novel, if that helps.

2

u/AdhesivenessFew8441 5d ago

Since you mentioned people entering their info more than once, that's actually the core of the job: designing the tables so each person exists only once. Before writing any UI, learn three things: basic SQL (SELECT, JOIN, GROUP BY; SQLBolt is a quick free practice site), normalization up to third normal form, and constraints like primary keys, foreign keys and UNIQUE. Then ask them for a copy of the current database (never work on the live one) and try to draw its tables and relationships on paper. That map will also tell you the real scope, which is what you need before promising anything. For the UI, use whatever web stack you already know from your webdev, since two months is too short to learn a new framework too.