一覧へ戻る
FaztWeb/postgresql-node-restapi(新しいタブで開きます)
主要言語: JavaScript
Nodejs & PostgreSQL REST API without ORMs
- star 数
- 44
- watcher 数
- 5
- fork 数
- 24
- issue 数
- 5
- 最終更新
- 2024/12/07
主要言語: JavaScript
Nodejs & PostgreSQL REST API without ORMs
A REST API using Node.js and PostgreSQL with pg library and using Express.js for routing.
Node.js
PostgreSQL
Clone the repository: git clone https://github.com/FaztWeb/postgresql-node-restapi.git
Install the dependencies: npm install
Create a database in PostgreSQL
Create a .env file in the root directory and add the following:
DB_USER=your_username
DB_PASSWORD=your_password
DB_HOST=your_host
DB_PORT=your_port
DB_DATABASE=your_database
or just copy the .env.template file and fill it with your data.
npm run devTo run eslint: npm run lint
This project is open-sourced software licensed under the MIT License.