2024-04-15 00:04:50 +00:00
|
|
|
pre req:
|
|
|
|
get node js
|
|
|
|
google it
|
|
|
|
|
|
|
|
install:
|
|
|
|
clone the repo
|
|
|
|
cd into it
|
|
|
|
|
|
|
|
install dependencies:
|
|
|
|
`npm install`
|
|
|
|
|
|
|
|
run the dev server:
|
|
|
|
`vite`
|
|
|
|
|
2024-04-16 14:05:34 +00:00
|
|
|
listen for uploads (run backend server)
|
|
|
|
`node server`
|
|
|
|
|
|
|
|
go to http://localhost:5173
|
|
|
|
check out the console (right click inspect)
|
|
|
|
|
|
|
|
TODO:
|
|
|
|
Check for security make sure I can't get around it some easy way at least.
|
|
|
|
new npub with proper nip05 and username access?
|
|
|
|
create a setup that runs both frontend and backend code and make a config file
|
|
|
|
for any configs for the user
|
|
|
|
|
|
|
|
set up create path if it doesn't exist for a new user.
|
|
|
|
config for max file size and default storage limit for a given iser
|
|
|
|
can make a exceptions later to allow more storage for a user based on criterea
|
|
|
|
|
|
|
|
the .well-known and .nip05Storage are for testing purposed right now. they will be removed later.
|
|
|
|
|
|
|
|
redo readme
|
|
|
|
|
|
|
|
get rid of cors errors?
|
|
|
|
|
|
|
|
make favicon
|
|
|
|
|
|
|
|
test on my site
|
|
|
|
|
|
|
|
release
|