Skip to content

Mrwithoutbody/vendure-starter-pack

Repository files navigation

vendure with docker starter pack

This project was generated with @vendure/create.

First Setup

  • /src/vendure-config.ts change dbConnectionOptions
  • /docker-compose.yaml change db:environment:
  • /src/vendure-config.ts import plugin

Directory structure

  • /src contains the source code of your Vendure server. All your custom code and plugins should reside here.
  • /static contains static (non-code) files such as assets (e.g. uploaded images) and email templates.

Development

yarn start
# or
npm run start

will start the Vendure server and worker processes from the src directory.

Working with app

http://localhost:3000/admin-api

Build

yarn build
# or
npm run build

will compile the TypeScript sources into the /dist directory.

Migrations

Migrations allow safe updates to the database schema.

The following npm scripts can be used to generate migrations:

yarn migration:generate [name]
# or
npm run migration:generate [name]

run any pending migrations that have been generated:

yarn migration:run
# or
npm run migration:run

and revert the most recently-applied migration:

yarn migration:revert
# or
npm run migration:revert

About

Backend postgres app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors