This is a simple pastebin written in Svelte. It uses mongodb to store the pastes.
- NodeJS
- MongoDB
npm install
// or
pnpm install
PORT
:number
(default: 3000)DB_URI
:string
(required)
- headers
- Content-Type: application/json
apiKey
:string
(required)
- body
name
:string
content
:string
language
:string
(txt/html/css/js/java/php/py/cpp)
- headers
- Content-Type: application/json
apiKey
:string
(required)
- params
id
:string
- headers
- Content-Type: application/json
apiKey
:string
(required)
- params
id
:string
- body
name
:string
content
:string
- headers
apiKey
:string
(required)
- params
id
:string
- headers
- Content-Type: multipart/form-data
apiKey
:string
(required)
- body
image
:file
(required)name
:string
(required)
- headers
- Content-Type: application/json
apiKey
:string
(required)
- params
id
:string
(required)
- headers
apiKey
:string
(required)
- params
id
:string
(required)