This is a fictional auto dealership website illustrating how to use feature flags in NestJS. Since Nest is considered a server-side framework, the frontend components were developed using Vue.js. The complete frontend can be found in the client folder.
Here's a short breakdown of the app:
On the home page of the website, just under the banner. I've added:
- A newsletter subscription form - Let's consider this to be a pre-existing component of the site.
- A fuel mileage calculator - The new feature to be rolled out.
- Node version 16 or higher
- Open a terminal in the root of this repo and run the following command to install the npm packages.
npm install
- Build the Vue frontend:
cd client
npm install
npm run build
- In the root directory, start the server by running the following command then access it on http://localhost:3000/.
npm run start
Useful links to technical resources.
- Nest.js Documentation - learn about Nest.js features and its API.
ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here.
You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.
Keep up with ConfigCat on Twitter, Facebook, LinkedIn, and GitHub.
Contributions are welcome!