Skip to content

P2PModels/amara-proxy-api

Repository files navigation

Amara Proxy API

A Node.js server to connect to Amara API so we can avoid CORS policy.

Set up

Navigate into the amara-api-proxy directory

cd amara-api-proxy

Install npm dependencies

npm i

Start the server

npm start

Structure

This proxy api has the following structure:

root
├ ├── middlewares
├ ├── models
├  └── schemes
├    └── amara-users.db
├ ├── routes
├── utils
└── package.json
  • middlewares: Custom middlewares folder.

  • models: Object models folder.

  • schemes Schemes directory containing the database

    • amara-users.db: sqlite database with amara demo user accounts to try out the prototype.
  • routes: Routes folder connecting to Amara API or sqlite user database.

  • utils: Helper files.

  • package.json: Main npm configuration file.

Resources

Amara API documentation

Releases

No releases published

Packages

No packages published