Skip to content

samk-dev/nestjs-swagger-starter

Repository files navigation

Lynx E-Commerce

Work in progress 🦺

Description

Headless e-commerce with Swagger Rest API && GraphQL

System Requirements

Locally:

NodeJS v14.x

NPM v7.x

check nvm to run multiple versions of node && npm nvm.sh

Postgres SQL

DB client to manage the database such as pgAdmin or Table Plus

# 1. Get your .env file ready (Adjust the ports to available ports on your system)
$ env-example mv .env

# 2. Install dependencies
$ npm install

# 3. Build assets
$ npm run build

# 4. Serve the app in watch mode
$ npm run start:dev

Docker && Docker Compose

To avoid the headeach of meeting the application versions requirements, you can use the power of docker && docker compose to run && test the application locally

macos && linuxs

Docker && Docker Compose

windows

Docker Docs windows

Linux Subsystem WSL

# 1. Get your .env file ready (Adjust the ports to available ports on your system)
$ env-example mv .env

# 2. Run docker-compose (go have a ☕️ first build will take some time...)
$ docker-compose up

# or

# Run docker-compose in detached mode
$ docker-compose up -d

License

Lynx E-Commerce is MIT licensed.