An example app built using the DevCycle NestJS Server SDK and TypeScript
This example app requires that your project has a feature with the expected variables, as well as some simple targeting rules.
⇨ Click here to automatically create the feature in your project ⇦
When you run the example app and switch your identity between users, you'll be able to see the feature's different variations.
- Run
npm install
in the project directory to install dependencies - Create a
.env
file and setDEVCYCLE_SERVER_SDK_KEY
to your Environment's SDK Key.
You can find this under Settings > Environments on the DevCycle dashboard. Learn more about environments.
npm run start
Runs the app in the development mode.
Requests may be sent to http://localhost:3000. See src/app.controller.ts
for available endpoints.
npm run test:e2e
For more information about using the DevCycle NestJS Server SDK, see the documentation