Skip to content

ServerTrack-Official/NestJS-Server-Side-Tracking-with-ServerTrack.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NestJS ServerTrack Demo

E-commerce demo with ServerTrack.io integration using NestJS.

Installation

npm install

Configuration

Update public/js/servertrack.js:

const AUTH_KEY = 'YOUR_AUTH_KEY';
const SERVER_DOMAIN = 'some.website.com';

Usage

Development:

npm run start:dev

Production:

npm run build
npm run start:prod

Visit http://localhost:3000

Features

  • ✅ NestJS (Progressive Node.js framework)
  • ✅ TypeScript
  • ✅ Modular architecture
  • ✅ Dependency injection
  • ✅ Full e-commerce tracking

Project Structure

src/
├── app.module.ts
├── app.controller.ts
├── app.service.ts
└── main.ts
public/
├── index.html
├── checkout.html
└── js/servertrack.js

About

E-commerce demo with ServerTrack.io integration using NestJS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors