Skip to content

myriadsocial/myriad-api

Repository files navigation

Myriad API

It's Your Turn to Own Your Web

Starting with Myriad.Social, we are creating a platform where social app, metaverse and messenger seamlessly integrate, together and with further applications. As a user, a content creator or a builder, Myriad is designed to be yours.

Medium


This application is generated using LoopBack 4 CLI with the initial project layout.

Install dependencies

By default, dependencies were installed when this application was generated. Whenever dependencies in package.json are changed, run the following command:

yarn install

Run the application

yarn start

You can also run node . to skip the build step.

Open http://127.0.0.1:3000 in your browser.

Rebuild the project

To incrementally build the project:

yarn build

To force a full build by cleaning up cached artifacts:

yarn rebuild

Code style and formatting

Code style

To check code style:

yarn lint:check

To automatically fix code style issues:

yarn lint:fix

Formatting

To check format:

yarn format:check

To automatically fix format issues:

yarn format:fix

Other useful commands

  • yarn migrate: Migrate database schemas for models
  • yarn openapi-spec: Generate OpenAPI spec into a file
  • yarn docker:build: Build a Docker image for this application
  • yarn docker:run: Run this application inside a Docker container
  • yarn docker:down: Tear down this docker contaner

Tests

Run all tests

yarn test

Or run partial test

Run unit test

yarn test:unit

Run integration test

yarn test:integration

Run acceptance test

yarn test:acceptance

What's next

Please check out LoopBack 4 documentation to understand how you can continue to add features to this application.

LoopBack