Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abrazax56/restapi-example

A simple rest-api example using Typescript
https://github.com/abrazax56/restapi-example

babel bun express typescript

Last synced: 26 days ago
JSON representation

A simple rest-api example using Typescript

Awesome Lists containing this project

README

        

## REST API EXAMPLE
### Perkenalan author
1. nama : Ahmad Beni Rusli
2. alamat : jln karimun, Rw 05, Rt 03, Kecamatan Sidareja
3. tahun lahir : 2005
### perkenalan project
1. nama : alquranqu api
2. deskripsi : simpel restapi menggunakan Typescript
3. teknologi : Typescript, Node Js, Bun Js, Mongodb, & Zod

## penggunaan
### instalasi
###### 1. install bun js
• curl
```bash
curl -fsSL https://bun.sh/install | bash
```
• npm
```bash
npm i -g bun
```
###### 2. install dependensi
```bash
bun install
```
###### 3. inisialisasi kompiler
```bash
npx tsc --init
```
###### 4. kompilasi kode Typescript
```bash
npx tsc
npx tsc --watch
```
###### 5. jalankan kode
```bash
bun run ./src/index.ts
```