# TODO

* check though protects routes part https://kritimyantra.com/blogs/laravel-12-sanctum-setup-user-sign-up-login-and-logout-made-simple ❌
 


migrate DB

    users
        blowfish - 13780
        not like blowfish 3059 
                sha1_v2.4
                md5_olduser
            all before 2014



 * split user to first and last names
 * update create account form in FE and API
 * progress the 'create' account in the app passthrough




## to test

//* create log
//* edit log 
//* delete log
// import logs
//* routes create 
//* routes edit 
// * routes view public 
//* routes view own
// delete route
//* premium page
//create account
//reset password
//update settings in account page

* live stripe




# APP link
// login
// logs download 
//* upload logs
* add create account link


# can be done later

* create a info component - message, info, success, error states - use any message
        eg `logs imported successfully`
* add copy/share button to the share link
* still some images with no urls
* add 'share' button on the main map page - inc map params?

* consider if I need to get users to confirm email before starting
* API - tidy up routes that are in the main routes file

* ui
    button consistency - not all green buttons same - shadows/colour etc - ui component
    inc loading disabled state and icon

* improve text on subscribed page    or redirect to https://new.munromap.co.uk/premium/
* update account - no message if fail, eg, session expired
* add 'remember me' to the log in
* after password reset - should it reload page?
* block download logs if no logs - else you get 传入数据为空(the download datas is null)


* seems to not always get auth success at frist after succesful 'log in' 

# FUTURE IDEAS

* 'connect' with others to share / combine maps
* photos on logs
* multiple mountains on log together 
* add public hike reports 


# Write test plan

* e2e - cypress / playwright etc? 
