Commit Graph

98 Commits

Author SHA1 Message Date
d16793c01c add user db functions 2024-08-23 14:10:44 +02:00
1971169e2f use sessionStorage & add user admin pages 2024-08-23 13:55:21 +02:00
0e7b9d8c20 improve pagination 2024-08-23 10:51:20 +02:00
0f0c896065 pagination all-subscriptions 2024-08-23 10:13:50 +02:00
c8b032236b pagination all-sales 2024-08-23 10:04:06 +02:00
63585e31f6 Creating db method to paginate all orders 2024-08-22 21:48:14 +02:00
c697da63b9 cancel subscription 2024-08-22 21:34:58 +02:00
059638f3a7 finish refund 2024-08-22 14:33:36 +02:00
7635a9826f refund front 1 2024-08-22 14:05:46 +02:00
d271e23861 use jsonResponse & refund back 2024-08-22 13:38:51 +02:00
479183ea13 move formatCurrency to commonjs 2024-08-22 10:01:54 +02:00
1bedaaeecf show sales & subscriptions 2024-08-22 09:56:14 +02:00
1984024394 get sale 2024-08-21 23:43:16 +02:00
8fb1844dcd all subscriptions 2024-08-21 23:27:33 +02:00
f8ee76939e all sales 2024-08-21 23:18:51 +02:00
21273c22cb Listing all sales database function 2024-08-21 22:39:30 +02:00
2dce6e02ab updating migrations and resetting the db 2024-08-21 22:01:34 +02:00
afcd5ba075 Setting up stub pages 2024-08-21 21:49:08 +02:00
ffa6b9a423 Improving FE and setting up an admin menu 2024-08-21 21:40:31 +02:00
6e3f283a64 Adding encryption package to encrypt email 2024-08-21 14:22:40 +02:00
b98b61aa76 Creating backend to handler password resets 2024-08-21 12:54:25 +02:00
333499f76e Setting up the reset password page 2024-08-21 12:27:09 +02:00
2a5841d649 Creating the reset password route and handler 2024-08-21 12:17:49 +02:00
7db64eff6a Using urlsigner package 2024-08-21 11:44:38 +02:00
7a7a823715 Implementing signed links for email message 2024-08-21 11:34:25 +02:00
2642f706bf test sending emain 2024-08-21 09:39:34 +02:00
21c5f42aff Sending email 2024-08-20 22:36:16 +02:00
6edfc529ea Password resets and sending mail 2024-08-20 22:20:37 +02:00
d256bfb438 Password resets 2024-08-20 22:06:04 +02:00
a6d54242bb Protecting routes on hte FE and improving authentication 2024-08-20 21:45:13 +02:00
2f7300db0f Changing the vt to use fetch 2024-08-20 14:13:35 +02:00
4a982cc73d Converting the vt post to use the back end 2024-08-20 13:32:50 +02:00
8ef4282393 Implementing middleware to protect specific routes 2024-08-20 13:21:40 +02:00
1fce6f6a48 check expiry 2024-08-19 22:35:40 +02:00
4a756e850e Validating the token on the back end 2024-08-19 22:22:40 +02:00
7ef68d030b Checking authentication on the backend 2024-08-19 21:39:36 +02:00
a9ab175407 changing the login link based on auth 2024-08-19 21:17:51 +02:00
769a24dff3 Saving token to local storage 2024-08-13 22:46:26 +02:00
e7f6983a22 Saving token to DB 2024-08-13 22:00:07 +02:00
6b7ce5b719 Create a function to generate a token 2024-08-13 21:39:33 +02:00
6862ef1bc0 fix front display issues 2024-08-13 21:39:10 +02:00
d82d4c754e Fix some errors 2024-08-13 14:12:40 +02:00
bd5c6b2abc Creating passwordMatches help 2024-08-13 13:58:33 +02:00
4ec1d8c5a2 Auth 2024-08-13 13:47:56 +02:00
011b3a8c0b Create a writeJSON helper 2024-08-13 13:34:53 +02:00
b37dcf89fd Create route and handler for authentication 2024-08-13 13:26:38 +02:00
aab0ef380a writing the stub js to authenticate against the back end 2024-08-12 21:44:49 +02:00
846282db74 create login page 2024-08-12 21:38:12 +02:00
4dfb28ad3d add receipt page for plan 2024-08-12 19:23:53 +02:00
5ab6ad85f7 Saving transaction & customer info 2024-08-12 19:10:27 +02:00