Home

Awesome

LemonMart Server <img src="https://user-images.githubusercontent.com/822159/76695774-8f44e180-6659-11ea-9dea-23cd61fbd2f4.png" alt="LemonMart Server" width="36"/>

Easy to learn and use TypeScript Express.js server with REST, GraphQL, and MongoDB using Minimal MEAN for Lemon Mart

Angular Version CircleCI DeepScan grade Coverage Status

lemon-server

Watch the video: Do More with Less: Full Stack TypeScript

Get the book: Lemon Mart Server is covered in my book Angular for Enterprise Applications. You can get it at AngularForEnterprise.com.

Setup

Manually Setup Environment Variables

Skip over this if you already ran the automated command

MONGODB_ADMIN_PASS=your_password_goes_here
MONGODB_APPLICATION_DATABASE=app_db_name
MONGODB_APPLICATION_USER=app_user
MONGODB_APPLICATION_PASS=app_password
MONGO_URI=uri_to_mongodb
MONGODB_ADMIN_PASS=admin
MONGODB_APPLICATION_DATABASE=acme
MONGODB_APPLICATION_USER=john.smith
MONGODB_APPLICATION_PASS=g00fy
MONGO_URI=mongodb://john.smith:g00fy@database/acme
MONGO_URI=mongodb://john.smith:g00fy@localhost:27017/acme

Run

Development

Architecture

Continuous Integration and Hosting

REST

The OpenAPI schema for the project is hosted on /api-docs using SwaggerUI.

GraphQL

Apollo Explorer is hosted on /graphql.