An open API service indexing awesome lists of open source software.

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

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.