Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/terieyenike/plbrutal
- Owner: Terieyenike
- Created: 2020-10-28T13:27:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T13:30:49.000Z (over 4 years ago)
- Last Synced: 2025-01-19T05:15:42.003Z (25 days ago)
- Topics: cors, expressjs, heroku, nodejs, postgresql
- Language: JavaScript
- Homepage: https://lit-ocean-43044.herokuapp.com/v1/report/1
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- 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 endpoints.
2. Install the dependencies, run `npm install` in the project.
## Backend API
Ensure the backend is running with `npm start` in the terminal.