Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
/ sena Public archive

๐Ÿš€ [Archived] Node.js-based CDN server for images

Notifications You must be signed in to change notification settings

azukashi/sena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Project banner

โžก๏ธ Development

๐Ÿ› ๏ธ Requirements

A node.js >= 16.x setup with pnpm >= 7.x is recommended.

๐Ÿ“ Create env variables

# Linux/macOS
$ cp .env.example .env

๐Ÿ“ฆ Install dependencies

$ pnpm install

๐Ÿƒ Serve in production server

$ pnpm start
#
# App is running on port {process.env.PORT}

๐Ÿ” Authentication

As defined in .env.example, default username & password used to login is*

Username: admin0
Password: admin0

*: These auth info can't be used on Live-version app.

๐Ÿ—’๏ธ Notes

This is a very simple image uploading website. Authentication login style is simple with a dialog from the browser, and only has "+" button on the dashboard for uploading images. Also, username & password used for login is still stored in .env file and this does not secure. However, i will start using databases when i have times & improving things.

*: App name is inspired from Blue Archive's character: Himuro Sena (ๆฐทๅฎค ใ‚ปใƒŠ)

๐Ÿ’ณ Credits