https://github.com/terieyenike/pern-server
Backend for a task app built with PostgreSQL
https://github.com/terieyenike/pern-server
express node postgresql sql
Last synced: 2 months ago
JSON representation
Backend for a task app built with PostgreSQL
- Host: GitHub
- URL: https://github.com/terieyenike/pern-server
- Owner: Terieyenike
- Created: 2020-09-07T00:33:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T13:18:04.000Z (almost 6 years ago)
- Last Synced: 2025-03-11T13:13:13.716Z (over 1 year ago)
- Topics: express, node, postgresql, sql
- Language: JavaScript
- Homepage: https://pacific-beyond-99149.herokuapp.com/todos
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Postgres crud server
## Installation
1. Ensure you have Node installed: https://nodejs.org
1. Download PostgreSQL for storing our data in a database, https://www.postgresql.org/
## Development
1. Run/Start Postgres to have access to connect to the database in the terminal.
```psql
\c database_name
or
psql -U postgres
```
## Restful API
Creating a Restful API in order to run the CRUD operation that uses transfer protocol (HTTP).
## Getting started
1. Understanding of basic SQL commands and creating Restful APIs - Get, Edit, Delete, and Update endpoints.
2. Install the dependencies, run `npm install` in the project.
## Backend API
Ensure the backend is running with `npm start` in the terminal.