Skip to content

Terieyenike/pern-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgres crud server

Installation

  1. Ensure you have Node installed: https://nodejs.org
  2. 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.
\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.