Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/abrazax56/restapi-example
- Owner: Abrazax56
- License: mit
- Created: 2024-03-27T08:15:52.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-15T04:00:24.000Z (6 months ago)
- Last Synced: 2024-09-29T02:40:53.424Z (about 1 month ago)
- Topics: babel, bun, express, typescript
- Language: TypeScript
- Homepage: https://alquranqu.up.railway.app
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```