Skip to content

This is a App to Test CT Web Apps with HTML as well as React Setups

Notifications You must be signed in to change notification settings

singhkunal2050/test-ct-sdk

Repository files navigation

URLs to Test the Apps

Deployment Status : Netlify Status

  1. Static : https://clevertap-sdk-test.netlify.app/?region=eu1&accountId={accountID}&token={token}
  2. Reac SPA : https://clevertap-sdk-test.netlify.app/spa?region=eu1&accountId={accountID}&token={token}

How to test locally

  1. Static Pages
    • Run npx http-server staticPages -p 8080 in the root directory
    • Open http://localhost:8080 in your browser
    • Test all the static pages
  2. SPA
    • Run npm run dev in the root directory
    • Open http://localhost:5173/spa in your browser
    • Test different Use cases from /usecases route

How to deploy to Netlify

  1. Fork this repo
  2. Go to Netlify and create a new site
  3. Connect your GitHub account
  4. Select the forked repo
  5. Select the branch you want to deploy
  6. Click on Deploy
  7. Wait for the deployment to complete
  8. Go to the site URL and test
  9. Note all the staticPages would be directly available in the website due to the vite.config.js configuration
  10. The SPA App would be available at the /spa route

Pages

  1. /spa : SPA App
  2. /customWebInbox : Custom Web Inbox
  3. / : All Basic Events and Lifecycle
  4. / : Web Inbox

About

This is a App to Test CT Web Apps with HTML as well as React Setups

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published