Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

sara-sabr/WebXR-Nest_API

Repository files navigation

WEBXR NEST API

A REST API for the R&P WebXR application

Built With

  • Azure
  • NEST.JS
  • TypeScript

Prerequisites

Installation

  1. Inside your Azure storage account

    • Navigate to Settings, select Access keys
    • Find the Connection String value under key1
    • Copy the value, later it will be added to your environment variable
  2. Clone this repo

    git clone https://github.com/sara-sabr/WebXR-Nest_API.git

  3. Install the NPM packages

    npm install

  4. Create a .env file and add the following:

    • Your localhost port

    PORT=YOURPORTNUMBER

    • Your storage account name

    ACCOUNT_NAME=YOURSTORAGEACCOUNTNAME

    • Your Azure Storage Connection String

    AZURE_STORAGE_CONNECTION_STRING=YOURCONNECTIONSTRING

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Usage

This application is created for the purpose of using API endpoints for Azure storage containers and blobs.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

License

Nest is MIT licensed. "# WebXR-Nest_API"

About

Nestjs based API for WebXR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published