A simple NodeJS app to host my site z3.is.
- Pastebin
- Syntax Highlighting
- URL Shortener
- File upload storage
- Clone the repository, then run
npm install
- Run the app once using
node index.js
- Generate a bcrypt password with a website like this like this to generate a bcrypt password for the admin dashboard.
- Add an entry to
db.json
for your username. Example:
"users": [
{
"user": "ADMIN_USER",
"pass": "BCRYPT_PASS"
}
],
- Run the app again with
node index.js
, and you should now be able to navigate to/admin/
and login.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.