Skip to content

tarsislimadev/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Back-end Node.js library

GitHub Workflow Status (with event) npm github/stars

social & donate

Donate - Telegram - Discord

how to install

# bash

npm i @brtmvdl/backend

how to use

package.json

{
  "type": "module",
  "scripts": {
    "start": "node index.js"
  },
  ...
}

index.js

import { Server } from '@brtmvdl/backend'

const server = new Server()

server.get('/', (req, res) => res.setJSON({ id: Date.now() }))

server.listen(80)

node start

# bash

npm start

author

@brtmvdl

license

MIT