https://github.com/hir4/postgres_database
Project using Node with Postgresql, connecting four tables (client, admin, group, products, sale_header and sale_itens) with the intuit to learn more about database.
https://github.com/hir4/postgres_database
database express javascript nodejs postgresql
Last synced: 3 months ago
JSON representation
Project using Node with Postgresql, connecting four tables (client, admin, group, products, sale_header and sale_itens) with the intuit to learn more about database.
- Host: GitHub
- URL: https://github.com/hir4/postgres_database
- Owner: Hir4
- Created: 2021-08-09T21:12:37.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-08T00:11:05.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T03:12:26.630Z (over 1 year ago)
- Topics: database, express, javascript, nodejs, postgresql
- Language: JavaScript
- Homepage:
- Size: 116 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Database

## :dart: About ##
Project using Node with Postgresql.
- [DbDesigner](https://dbdesigner.page.link/rpCrAKi6qsG5MtDLA)
- [Youtube](https://www.youtube.com/watch?v=bL7rH82yQEA)
## :rocket: Technologies ##
- [Javascript]
- [Node]
- [Postgresql]
## :white_check_mark: Prerequisite ##
Before start, you will need:
- [node](https://nodejs.org/en/)
- [node-postgres]
```bash
npm install pg
```
- [express]
```bash
npm install express --save
```
- [body-parser]
```bash
npm install body-parser
```
- [cookie-parser]
```bash
npm install cookie-parser
```
- [bcrypt]
```bash
npm install bcrypt
```
- [REST Client](https://marketplace.visualstudio.com/items?itemName=humao.rest-client)
- [dotenv]
```bash
npm install dotenv
```
- [JWT]
```bash
npm install jsonwebtoken
```
- [CORS]
```bash
npm install cors
```
## :checkered_flag: Running
```bash
#Choose the port you want to start, then just run:
node index.js
```