February 18, 2022

Libshare - Curate & Share Your favorite JavaScript Libraries!

Welcome to Community Posts
Click below to read the full article.
Summary of What to Expect
Table of Contents

Steps to set up the Back-end:

  1. Choose between HarperDB's cloud offering or self-hosting.
  2. Install HarperDB using Docker with necessary configurations.
  3. Register the user-installed instance and create required tables.
  4. Use HarperDB's Custom Functions to create API routes.
  5. Write custom functions locally or in HarperDB Studio's Integrate IDE.
  6. Validate requests using libraries like Joi for request body validation.
  7. Test custom functions locally with tools like Postman.

Steps to set up the UI:

  1. Clone Libshare UI repository and install dependencies.
  2. Serve the UI to run it locally.
  3. Ensure the HarperDB Docker image is running for API interaction.

UI Pages:

  1. Login
  2. Signup
  3. Libraries (Add/search NPM libraries)
  4. Lists (Group libraries, make lists public)