Ei kuvausta

Michael Bromley 7c01e9140a feat(server): Add i18n support 7 vuotta sitten
admin-ui 2b543f46e1 feat(admin-ui): Implement simple update of product detail 7 vuotta sitten
docs 4c361928a1 docs: Add facets to class diagram 7 vuotta sitten
server 7c01e9140a feat(server): Add i18n support 7 vuotta sitten
shared 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 vuotta sitten
.editorconfig 2de502b09e chore(server): Set the correct indentation for json files 7 vuotta sitten
.gitignore 6e0fd48e37 refactor(admin-ui): Enable TypeScript strict checks, fix errors 7 vuotta sitten
CONTRIBUTING.md 5919ce67da docs: Add MIT license, expand readme 7 vuotta sitten
LICENSE 5919ce67da docs: Add MIT license, expand readme 7 vuotta sitten
README.md 7c01e9140a feat(server): Add i18n support 7 vuotta sitten
graphql.config.json ec530da90f feat(admin-ui): Generate TypeScript types from api & client schemas 7 vuotta sitten
schema.json 2b543f46e1 feat(admin-ui): Implement simple update of product detail 7 vuotta sitten
tslint.json 9d6f45522b style: Unify tslint configs and fix outstanding issues 7 vuotta sitten

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