Days 55 - 75 out of #100DaysOfCode

Days 55 - 75 out of #100DaysOfCode

Days 55 - 75 out of 100 days of code

November 11 - December 1

This was such a long break from posting, my apologies. However, it was all good things that were happening while I was away. I prepped for an interview, which was great, and received the take-home coding project challenge. I was asked to create an ATM MVC project with a database, logic, and interface and am waiting for the code review interview! 

The interview was on the 17th of November, and it was in person, which was so exciting! It was enjoyable not to deal with asking someone to repeat themselves because of a lost connection or because someone’s computer glitched and they froze. From what I have seen in the work environment and culture, it is a place I could be me, which is the best kind of business to be. There are some places I have considered applying to and places I have interviewed at where I got the vibe of needing to fit a specific mold. Hit the support button for this article, if you know what I mean.

No alt text provided for this image

After the interview, I picked up my son from school, and we celebrated by going to get ice cream!



No alt text provided for this image

I wrote the database scripts in MySQL, which had tables of User, Bank_account, and Transaction, and each had several rows. I had just been practicing with MySQL, so I whipped out those creation scripts in no time. 

No alt text provided for this image

The logic was held in the Controller section and utilized in JDBC (Java Database Connectivity). The program used the CRUD operations of creating a bank account, reading account info, updating pin, deleting an account (which transferred the balance to a different account, created a transaction in the account the money was transferred to, and then deleted the empty account). It also supported a login that used the attributes of credit card and pin, and if it logged in, it would give you a menu of options. It also had the capabilities of searching and sorting through transactions. 

One problem I ran into was the connection. I first created a console app to make sure the methods worked before adding the GUIs. Once I was calling the methods in the GUI, the logic would not communicate to the database anymore. I fixed this by creating a simple connection object in the Model package of the MVC layout and calling it in create and show GUI in the picture right below.

No alt text provided for this image

I used very very basic looking Swing Java GUIs (Graphical User Interface), which were held in the View section of the MVC pattern. I used Jtextboxes for the login and data entry for the CRUD operations and Jbuttons for the menu. Each menu option calls to a different GUI that calls (with the data entered into the Jtexboxes) to a parameterized method in the Controller class, ATM. 

I feel incredibly confident in this job opportunity, and I had a great experience creating this project. Even if this does not move forward, I learned a lot, and I now have another project to add to my portfolio. I am looking forward to meeting with CFM to discuss my code and see how my program can be made more efficient. 

If you see anything in my code that can be improved, or have any helpful tips in general, please shoot me a message!

Thanks for reading,

Mara Munoz

To view or add a comment, sign in

More articles by Mara Munoz

  • Day 48-54 out of #100daysofcode

    Hello Everyone, Day 48-54 out of 100 On November 4th I wrote that I had an interview that day. It went so well, and it…

  • Days 39-47 out of #100daysofcode

    Hello everyone, Day 39 On October 27 I had an unexpected day. Sometimes things don’t go according to plan.

    1 Comment
  • Day 30-38

    Day thirty of #100DaysOfCode Today is Monday, the 12th. I applied to a couple of places that interested me(one being…

    1 Comment
  • Days 25-29 out of #100DaysOfCode

    Day twenty-five of #100DaysOfCode Today is Wednesday, the 7th of October. Today I am prepping for a phone interview for…

    2 Comments
  • Days 12-24 out of 100 Days of Code

    Hello Everyone! Thank you so much for reading about my days of code. Because of being sick, and having family here due…

    2 Comments
  • Days 8-11 of 100 Days of Code!

    Hello everyone! Thanks for checking out my days 8-11 of 100 days of code! Day eight of #100DaysOfCode: Today is Monday…

  • Day 5-7 of 100 Days of Code

    Day Five of #100DaysOfCode: Today is Friday, September 18. Today I made some minor adjustments on the code for my…

    2 Comments
  • Days 1-4 out of 100 days of Code

    Hello everyone, I had a poll at the beginning of the week where I asked what people most wanted to see: a post every…

  • Using a Planner for Work, School, and Life in General

    Okay, let's talk planners! Because of mine, my life is much more organized and productive. I don't know what I would do…

  • Hello World.. and Java

    I had previously taken a university course on Java and struggled with little to no help. I don't know about you, but…

    1 Comment

Others also viewed

Explore content categories