Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 8 hours 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`