Skip to main content

DevBlog #5 - Fintech Platform

 What I have Been Working On

1) Account Creation Page / Logic

I have added some more quality-of-life things to the signup page. This mostly includes some user feedback so that when people create an account, they can get data from the experience. For example, when someone creates an account, a little notification box appears on the bottom of the screen saying "Account Created" and "Log In". The "log in" text then sends you to the dashboard page. Additionally, if you try to create an account and the username or email is in use, a box will appear, with an error message included telling the user what went wrong.

2) User Login Page / Logic

I have now connected the login system making it work with my database (which is now the correct database, and not the test database). This means you can log in and it compares the password and username to see if it is correct. It then creates a JWT token for the user and saves it in local memory so that it can be used to authenticate the user, and then allow for navigation.

3) Dashboard Navigation

I set up dashboard navigation so that when you click on the nav bar on the left it enables and disables these components, making it seem as if you are changing pages/components. But you aren't. I then set it up so that there is a default dashboard panel so that when you use the /dashboard path it shows the correct landing panel. I then added some quality-of-life things like the correct mouse hovering when you are navigating with the nav bar, sign out button (doesn't clear cache, just links), and some other small things.

4) Research Page

I created a research page. I thought that this would be a really great addition to the panel as it can be used to show a whole bunch of currencies directly in the dashboard. Right now it is just a smart table with styling, but it is intended for so much more. I will ultimately be like Coingecko or Coinmarketcap right in the dashboard. But then when you want to trade it it will show you how to buy/trade/swap it within the DeFi ecosystem. It will be getting minute-by-minute data changes and will have descriptions, price feeds, data, and everything else that investors will need to know. No more needing to go to a centralized exchange, all trading, investing, and management will be defi.

5) Memory Cached User Authentication Tools (JWT)

Now that the user token has been added to their local memory, it can be used to authenticate their account, and then be used to provide them access to navigation. Each time they want to go to a page that is user-specific (dashboards, accounts, etc) or requires an account (API requests for transactions, money movement, etc), it will ask for the token as a way to authenticate. Once authenticated, it will provide them access to whatever it is they are trying to do.

Conclusion

I have made some good progress, but I am not anywhere complete. I will keep working on this project as it is a lot of fun, and quite enjoyable. I have some pictures below.





Comments

Popular posts from this blog

DevBlog #41 - Game

    More progress has been made, and I feel like a million bucks because of this game.     1) Tech Tree Restructuring: I have switched my 1D list to a 2D list so that I can store all of the data about the branches and their different techs in each era. I have made it so that you can smart scroll through eras and through each tech category. Once researching the first tech, settlement, you can then get access to all other tech categories (Military, religious, education, industrial, etc), and each tech in that tree for each era. At the bottom, you can press a button to increase or decrease the era that you want to view. However, you can only increase up to a certain point, either the max of era 3 or the furthest era that branch goes to. This makes the tech tree feel a lot more advanced and less crowded.     2) Auction House: I have now got the viewing system working for all of the cards in the auction house, as well as the system to reassign who it is that is ...

DevBlog #18 - Game

      Today, I spent 10 hours working on the ability for a user to select a card, then a tile, the hit the card again in order to use it if it is tile specific. However, this idea sucks, and I don't like. Tomorrow I am going to go back and change the entire system. Instead you are going to drag the card to where you want it to go, then release it on the tile you want the effect to take place. This will then apply the effect to that tile. This way it is one click and not 3, and is also more interactive for the users. Furthermore, I wont have to convey to the user that certain cards are tile based, and some are not.     I also rewrote the terrain hex map generator script. I made the script completely modular, meaning that in the editor you can create an object to spawn on the terrain just by clicking a plus. You then plop in the model, the name, the description, the spawning frequencies, and the tiles that it can spawn on. Then for each tile that is generated it c...

DevBlog #5 - Game

      Hello, found out a solution to the problem that I was having yesterday. I have discovered the fabled perlin worms. We will use them by starting them off on high terrain values, and going to low terrain values changing every tile it touches into water tiles. This will create the effect of rivers.     Easy money!     Thats all for now, bye!