Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarsislimadev/backend
Easy Back-end Node.js library
https://github.com/tarsislimadev/backend
backend nodejs npm
Last synced: about 2 months ago
JSON representation
Easy Back-end Node.js library
- Host: GitHub
- URL: https://github.com/tarsislimadev/backend
- Owner: tarsislimadev
- License: mit
- Created: 2023-08-30T14:40:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T01:27:45.000Z (5 months ago)
- Last Synced: 2024-11-07T05:08:28.633Z (2 months ago)
- Topics: backend, nodejs, npm
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@brtmvdl/backend
- Size: 161 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# [@brtmvdl/backend](https://www.npmjs.com/package/@brtmvdl/backend)
Easy Back-end Node.js library
[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/brtmvdl/backend/npm-publish.yml?label=GitHub%20Actions&link=https%3A%2F%2Fgithub.com%2Fbrtmvdl%2Fbackend%2Factions%2Fworkflows%2Fnpm-publish.yml)](https://github.com/brtmvdl/backend/actions/workflows/npm-publish.yml) [![npm](https://img.shields.io/npm/dw/%40brtmvdl/backend?label=NPM%20Weekly%20Downloads)](https://www.npmjs.com/package/@brtmvdl/backend) [![github/stars](https://img.shields.io/github/stars/brtmvdl/backend?style=social)](https://img.shields.io/github/stars/brtmvdl/backend?style=social)
## social & donate
[Donate](https://link.mercadopago.com.br/brtmvdl) - [Telegram](https://t.me/+KRmg5MlqgMk0MTg5) - [Discord](https://discord.gg/2zWpWBgmPj)
## how to install
```sh
# bashnpm i @brtmvdl/backend
```## how to use
### package.json
```json
{
"type": "module",
"scripts": {
"start": "node index.js"
},
...
}
```### index.js
```js
import { Server } from '@brtmvdl/backend'const server = new Server()
server.get('/', (req, res) => res.setJSON({ id: Date.now() }))
server.listen(80)
```### node start
```sh
# bashnpm start
```## author
[@brtmvdl](https://www.linkedin.com/in/brtmvdl/)
## license
[MIT](./LICENSE)