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 年之前
Immanuel Onyeka
e09de1c690
Setup database tables
2 年之前