init: Node.js CRUD v1.0.0 — Express + PG, same table, Nubes design
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Node.js CRUD Example
|
||||
|
||||
CRUD-интерфейс на Express + PostgreSQL. Аналог Lucee/Flask CRUD, та же таблица.
|
||||
|
||||
## Переменные окружения
|
||||
|
||||
| Переменная | По умолчанию |
|
||||
|-------------|---------------|
|
||||
| `PGHOST` | `127.0.0.1` |
|
||||
| `PGPORT` | `5432` |
|
||||
| `PGDATABASE`| `postgres` |
|
||||
| `PGUSER` | `postgres` |
|
||||
| `PGPASSWORD`| (пусто) |
|
||||
| `TABLE_NAME`| `crud_items` |
|
||||
| `PORT` | `3000` |
|
||||
|
||||
## Запуск
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm start
|
||||
```
|
||||
Reference in New Issue
Block a user