Immanuel Onyeka
eb91253e97
Fix errors
пре 6 месеци
Immanuel Onyeka
9f31c024f5
Add code for users to unsubscribe from settings
Also embeds /assets, /migrations, and views/ directories in Go binary to
make deployment simpler.
пре 7 месеци
Immanuel Onyeka
809f663d5e
Fix SMTP and Stripe errors
пре 8 месеци
Immanuel Onyeka
7e919e1a41
Add subscription creation webhook for Stripe
пре 11 месеци
Immanuel Onyeka
10b88f12bc
Fix user retrieval errors
Empty branch IDs and missing payment information caused network errors
and a missing billing component.
пре 11 месеци
Immanuel Onyeka
5627960ad4
Automatically set token cookie after login
пре 11 месеци
Immanuel Onyeka
4511f2cb39
Setup invoice.paid webhook handler
пре 11 месеци
Immanuel Onyeka
53ebad02ae
Store price ID in subscriptions
пре 11 месеци
Immanuel Onyeka
0ce1a066cc
Process and complete Stripe payments
пре 1 година
Immanuel Onyeka
f2dd73def0
Return payment intent for new or existing subs
пре 1 година
Immanuel Onyeka
adb49143ee
Setup subscription endpoint
пре 1 година
Immanuel Onyeka
51e46a2ce6
Setup subscription SQL table
Includes the associated Go functions for inserting and selecting given a
specific user ID or subscription ID. Also adds required HTML tags and
HTTP queries for subscription process during user registration.
пре 1 година
Immanuel Onyeka
846034c11a
Display registration errors to user
пре 1 година
Immanuel Onyeka
27de7ea416
Allow users to delete saved estimates
пре 1 година
Immanuel Onyeka
166123d50f
Remove old seed script
пре 1 година
Immanuel Onyeka
274ea0581d
Fix duplicate loan_id error
At most one result should exist for each loan stored but not redeclaring
the 'estimate' variable within the seed loop caused the loan entries of
the first estimate to be copied onto the second, which caused an error
while seeding result entries.
пре 1 година
Immanuel Onyeka
6dad31be22
Fix row decleration bug
пре 1 година
Immanuel Onyeka
f26b39f093
Add functions for seeding estimates in dev
пре 1 година
Immanuel Onyeka
987090a927
Create CLI command for reseting database
Also seperate stages of seeding into other functions.
пре 1 година
Immanuel Onyeka
3b00be6374
Create sample users in seed function
пре 1 година
Immanuel Onyeka
14efd4937b
Add seed function for addresses and branches
пре 1 година
Immanuel Onyeka
e77294f777
Save changed user address in database
пре 1 година
Immanuel Onyeka
1d7163f5ae
Render and select address from dropdown
пре 1 година
Immanuel Onyeka
6566e1a4e9
Fix type and syntax errors
пре 1 година
Immanuel Onyeka
a2364d8340
Add address and phone number to user and branch
Update the database tables for user and branch to give more information
required for PDF generation. Also set up a test component to preview
change to the view during development. It will be reconfigured once the
genrated PDF is satisfactory.
пре 1 година
Immanuel Onyeka
290746a438
Dislay PDF mockup as test page
пре 1 година
Immanuel Onyeka
366647310f
Fix error caused by negative percentages in fees
пре 1 година
Immanuel Onyeka
daaff1c318
Add endpoint to create a new fee
пре 1 година
Immanuel Onyeka
ae5247bc71
Add insert and select SQL queries for Results
пре 1 година
Immanuel Onyeka
5368bc6227
Calculate estimate result values with []Loans loop
пре 1 година
Immanuel Onyeka
3a5477760d
Fetch user's estimates list from estimates.vue
пре 1 година
Immanuel Onyeka
af5c204eb6
Save estimates to database from summary view
пре 1 година
Immanuel Onyeka
9c7ac0a199
Login user through view
пре 1 година
Immanuel Onyeka
9b9d0a54fb
Fix errors and rename migration setup file
пре 1 година
Immanuel Onyeka
ee2358d259
Add API routing and login functions
пре 1 година
Immanuel Onyeka
9c31707dd2
Create and pull model for mortgage insurance
пре 2 година
Immanuel Onyeka
25079d7f33
Fetch NationalMI rates with Loan type
пре 2 година
Immanuel Onyeka
52f3a9a7b7
Fix SQL field errors
пре 2 година
Immanuel Onyeka
ae79dbacdd
Fix loan query and its errors
пре 2 година
Immanuel Onyeka
6887e1f824
Seperate loans from estimates in models
пре 2 година
Immanuel Onyeka
6aab5796b5
Query estimates and insert in models
пре 2 година
Immanuel Onyeka
ac5a9ec31a
Use zero vector for missing values instead of null
Null makes missing values harder to convert to json using the Scan
operation. 0 and '' will be used instead to be type consistent.
пре 2 година
Immanuel Onyeka
0b0a3d24f6
Query loan types
пре 2 година
Immanuel Onyeka
50f6682961
Pull first SQL query into a struct
Setup structs for storing query information.
пре 2 година
Immanuel Onyeka
eb93e759da
Seed mock estimates in database
пре 2 година
Immanuel Onyeka
76644bf9d8
Add example fee templates
пре 2 година
Immanuel Onyeka
3d2da6f81e
Seed loan types
пре 2 година
Immanuel Onyeka
c4801a3d12
Fix SQL syntax errors
пре 2 година
Immanuel Onyeka
418dda9ad4
Add missing test user fields in seeds
Also change the favicon to better match the colorscheme. An additional
section is added to settings.vue to mock the new fields.
пре 2 година
Immanuel Onyeka
53277258c9
Fix table setup errors
пре 2 година