Skip to content

srad/eLogical.API

Repository files navigation

eLogical API

TeamCity build status

This is the API for the PWA eLogical and only takes REST requests and authenticates client with JWT.

It's build on following components:

  1. This app is base on Express.
  2. As the databaase first Azure Cosmos DB has been used and works well. Then switching to MongoDB protocol.
  3. Mongoose as client for the database (works with Cosmos DB and Monogo).

Quick Start

$ git clone https://github.com/srad/eLogical.API.git
$ cd eLogical.API
$ npm install

These environment variables are used in deployment.

CONNECTION_STRING
PORT
SECRET
NODE_ENV

But the only necessary one is the mongodb CONNECTION_STRING. If you have a MongoDB instance running on your local machine set the environment variable, i.e. in PowerShell:

$env:CONNECTION_STRING="mongodb://localhost:27017/elogical"

Run the server:

$ npm start

About

Webservice for the eLogical PWA. Allows JWT authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •