https://github.com/firmanjs/crawl-test
https://github.com/firmanjs/crawl-test
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/firmanjs/crawl-test
- Owner: firmanJS
- Created: 2021-08-04T04:03:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-05T12:39:00.000Z (over 4 years ago)
- Last Synced: 2025-02-02T09:41:36.881Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Instalasi
copy `.env-sample` melalui perintah berikut :
```bash
cp .env-sample .env
```
lalu isi bagian `ELEVENIA_KEY` dan `ELEVENIA_API` dengan key elevenia dan url api elevenia:
```bash
NODE_ENV=development
APP_PORT=3000
APP_HOST=localhost
ELEVENIA_KEY=
ELEVENIA_API=http://xxxxxx/rest
PG_HOST=localhost
PG_PORT=5432
PG_USERNAME= # isi dengan username postgre
PG_PASSWORD= # isi dengan password postgre
PG_DATABASE= # isi dengan database postgre
```
### Dokumentasi
import `example.postman_collection.json` ke postman, untuk table ada di file `table.sql`
### Menjalankan aplikasi
instalasi package :
```bash
yarn install
or
npm install
```
running aplikasi package :
```bash
yarn dev
or
npm run dev
```