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

https://github.com/ayaanqui/roastme-api

RoastMe RESTful API, made with Express, PostgreSQL, and Passport.js
https://github.com/ayaanqui/roastme-api

authentication express passportjs postgres rest-api

Last synced: 2 months ago
JSON representation

RoastMe RESTful API, made with Express, PostgreSQL, and Passport.js

Awesome Lists containing this project

README

          

# RoastMe API

Public REST API for [RoastMe Frontend](https://github.com/ayaanqui/roastme-frontend).

## Setup

1. Create a database named `roastme` in your MySQL database (`CREATE DATABASE roastme;`)
1. Add `dbuser.json` in the `./database` directory
1. Add the following content inside `dbuser.json`: `{"username": "db_user", "password": "db_pass"}`
1. Install dependencies: `npm install`

## Run

`npm start`