No Description

Michael Bromley 85c192f2d0 chore: Lock apollo version 7 years ago
admin-ui 85c192f2d0 chore: Lock apollo version 7 years ago
docs 4c361928a1 docs: Add facets to class diagram 7 years ago
server 1ea8dfe57c feat(server): Correctly type translated entities 7 years ago
shared 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 years ago
.editorconfig d2d77d20d3 chore: Set up root linting & formatting on commit 7 years ago
.gitignore 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 years ago
.lintstagedrc.yml d2d77d20d3 chore: Set up root linting & formatting on commit 7 years ago
.prettierrc d2d77d20d3 chore: Set up root linting & formatting on commit 7 years ago
.travis.yml 901d1e0a68 chore: Add admin-ui prod build to CI scripts 7 years ago
CONTRIBUTING.md 5919ce67da docs: Add MIT license, expand readme 7 years ago
LICENSE 5919ce67da docs: Add MIT license, expand readme 7 years ago
README.md 7c01e9140a feat(server): Add i18n support 7 years ago
graphql.config.json ec530da90f feat(admin-ui): Generate TypeScript types from api & client schemas 7 years ago
package.json 901d1e0a68 chore: Add admin-ui prod build to CI scripts 7 years ago
schema.json 444049455a feat(server): Add filtering to productOptionGroups query 7 years ago
tslint.json 9d6f45522b style: Unify tslint configs and fix outstanding issues 7 years ago
yarn.lock d2d77d20d3 chore: Set up root linting & formatting on commit 7 years ago

README.md

Vendure

logo

A headless GraphQL ecommerce framework built on NestJS with TypeScript.

Status

Currently in pre-alpha, i.e. it is not yet useable.

Structure

Vendure is a headless framework, which means that it is just an API serving JSON via a GraphQL endpoint. The code for the server is located in the server directory.

We will ship with an administration UI which is a stand-alone web application which can be used to perform tasks such as inventory, order and customer management. The code for this is located in the admin-ui directory.

Development

Server

The server requires an SQL database to be available. I am currently using bitnami-docker-phpmyadmin Docker image, which is MariaDB including phpMyAdmin.

Vendure uses TypeORM, so it compatible will any database which works with TypeORM.

  • Configure the dev config
  • cd server && yarn
  • yarn start:dev
  • Populate mock data with yarn populate

Admin UI

User Guide

Localization

Vendure server will detect the most suitable locale based on the Accept-Language header of the client. This can be overridden by appending a lang query parameter to the url (e.g. http://localhost:3000/api?lang=de).

All locales in Vendure are represented by 2-character ISO 639-1 language codes.

License

MIT