DharshiBalasubramaniyam / Fullstack-Expense-Tracker

Developed a full-stack expense tracking web application using Spring Boot, React.js, and MySQL, facilitating seamless management of day-to-day finances.
3 stars 2 forks source link

how to add new transection or what about admin stuff #1

Closed manojgoje closed 1 month ago

manojgoje commented 1 month ago

i have clone this repository and did imp changes like database and setup mail also i have login as a user but i unable to post any new transection why please solve this problm & what about admin ?

how admin is logged in ? where is admin login page ?

please mam give information regarding this

DharshiBalasubramaniyam commented 1 month ago

Both admin and user use same page for login. You can to store admin details in dB manually and then login using same credentials.

And regarding couldn't add transaction, can you able to register successfully using otp? can you show me any error logs or screenshots? can you see any logs in your springboot IDE when trying to add transaction?

manojgoje commented 1 month ago

yes , i have succesfully logged in into webapp but there is o option of adding transection i will send the SS

and which table we have to add admin details .........?

db no option of add transection not have any log regarding this problem
DharshiBalasubramaniyam commented 1 month ago

yes , i have succesfully logged in into webapp but there is o option of adding transection i will send the SS

and which table we have to add admin details .........?

db no option of add transection not have any log regarding this problem

In users table, give reference to admin role for role id.

You have to store some categories for both expense and income in category table. Without categories you can't add transaction. Once you stored categories ( like salary, food, health etc.) refresh the page and see whether it's ok or not.

manojgoje commented 1 month ago

problem was solved thank you so much for the support ❤