Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/terieyenike/plbrutal

Routes endpoint for a report on police brutality
https://github.com/terieyenike/plbrutal

cors expressjs heroku nodejs postgresql

Last synced: 23 days ago
JSON representation

Routes endpoint for a report on police brutality

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 endpoints.

2. Install the dependencies, run `npm install` in the project.

## Backend API
Ensure the backend is running with `npm start` in the terminal.