Skip to content

A NestJS Starter Application Utilizing Snapchat Snap Kit SDK

Notifications You must be signed in to change notification settings

shaaaaawn/nestjs-snapchat

Repository files navigation

Snap Kit Logo Nest Logo

Description

A Nest framework TypeScript starter repository for creating applications utilizing the SnapChat Snap Kit SDK with Passport-Snapchat.

Snap Kit App Configuration

  • Login to Snap Kit Developer Portal and create a new application.
  • Enable Login Kit. Add 'http://localhost:3000/callback' to the redirect URLs.
  • Enable 'Web' OAuth2 Client and generate API Keys/Secret.
  • Copy the 'CLIENT ID FOR CONFIDENTIAL OAUTH2 FLOW' into .env file as SNAP_CLIENT_ID.
  • Copy the 'CLIENT SECRET FOR CONFIDENTIAL OAUTH2 FLOW' into .env file as SNAP_KEY.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

A NestJS Starter Application Utilizing Snapchat Snap Kit SDK

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published