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

https://github.com/jonomacc/computing-quotes

Simple API and web interface for quotes about computing
https://github.com/jonomacc/computing-quotes

express jamstack netlify-functions react serverless-functions

Last synced: about 2 months ago
JSON representation

Simple API and web interface for quotes about computing

Awesome Lists containing this project

README

          

# Quotion: Computing Quotes

[![Netlify Status](https://api.netlify.com/api/v1/badges/6a5cc58c-c0ff-4663-aa3c-dc5c98342570/deploy-status)](https://app.netlify.com/sites/quotion/deploys)

> This project was bootstrapped with [Create React App](https://create-react-app.dev)

A non-persistent API to CRUD (Create, Read, Update, Delete) quotes and their authors and a responsive web interface for interacting with the API.

Serverless Deployment

- Serverless Lambda with [Netlify Functions](https://github.com/netlify/create-react-app-lambda)
- Express backend via [Serverless-HTTP](https://github.com/dougmoscrop/serverless-http)

Server-Side Deployment

- Express backend

## Local Development

### Using Serverless Lambda Functions

You will need to have the Netlify CLI installed

npm install netlify-cli -g
netlify login

In your terminal

yarn
ntl dev

You can view the app by navigating to **http://localhost:3000/** in your browser.

### Using Node Server

You will need to create a .env file with the following (n.b. no spaces)

REACT_APP_LOCAL=true

In your terminal

node server

Open another terminal

yarn start

You can view the app by navigating to **http://localhost:3000/** in your browser.