Admin UI for managing Fides privacy requests. A web application built in Next.js with the FidesUI component library.
- In a new shell,
cd
intoclients/admin-ui
, then runnpm run dev
. - Nav to
http://localhost:3000/
and log in using the created user. Theemail
field is simply theuser
that was created, not a valid email address.
- Run the fides server with
nox -s dev
. - Create a policy key through the API (using the Postman collection).
- Configure the
clients/privacy-center
application to use that policy by adding it to the appropriate request config inconfig/config.json
. - Run the Privacy Request center using
npm run dev
. - Submit a privacy request through the Privacy Request center.
- View that request in the Admin UI and either approve or deny it.
Unless otherwise specified below, all unit tests should be colocated in the directory with the file(s) they are testing, in a __tests__
subfolder.
The sole exception to this is the pages
directory. Tests for Next.js pages live in the root __tests__/pages
directory. Otherwise, Next.js attempts to include them in final build output, which breaks the build.
During the software development process, one or more features may not be visible at runtime. To toggle a given feature, find the given feature flag name
key located in the flags.json file. Update the isActive
key value to true/false
. If true
, feature will be visible at runtime. Otherwise, feature will not be visible at runtime.
For techinical reference implementation, please reference react-feature-flags.
To view a production version of this site, including the backend:
- Run
npm prod-export
. This will- Export the static site to
out/
- Copy the build from
out/
to the folder in the backend which will serve static assets at/
- Export the static site to
- Run
nox -s api
in the top-levelfides
directory. - Navigate to
http://localhost:8000