/couchdb-marketplace-demo

A CouchDB marketplace demo

Primary LanguageJavaScript

CouchDB marketplace demo

Requirements

Setup

Set up env vars

  • cp .env.example app/.env.local
  • Open the newly created .env.local file in the app folder:
    • Set COUCHDB_USER to your preferred admin user name.
    • Set COUCHDB_PASSWORD to a secure admin password.

Install dependencies and run the app

Stop the application

  • In Terminal 2
    • Hit ctrl + c to stop the Next.js app.
    • Run cd ../ && npm run db:down to stop the CouchDB.

API reference

An API reference for the backend API routes can be found at https://docs.page/thorwebdev/couchdb-marketplace-demo