This repository is deprecated and no longer actively maintained. It contains outdated code examples or practices that do not align with current MongoDB best practices. While the repository remains accessible for reference purposes, we strongly discourage its use in production environments. Users should be aware that this repository will not receive any further updates, bug fixes, or security patches. This code may expose you to security vulnerabilities, compatibility issues with current MongoDB versions, and potential performance problems. Any implementation based on this repository is at the user's own risk. For up-to-date resources, please refer to the MongoDB Developer Center.
Demo Angular web app.
- Open the
M001
project in MongoDB Atlas. - Click on the
App Services
tab and select theRocket Store
app. - Open the
Authentication
from the left sidebar and selectAPI Keys
. - Create a new key and copy its value.
- Clone the Github repo
- Open
src/environments/environment.ts
and replace the value ofAPI_KEY
with the key you just generated. - Install the dependencies and run the development server:
npm install
ng serve -o