Skip to content

Commit c31e331

Browse files
rajat1saxenaRajat
andauthored
Certificates (#648)
* WIP: added admin side settings for certificates; added routes to show certificate * Untested: Coding done; accomplishment page; cert pdf generation; cert template management * updated lock file * certificate indication on my-content cards; accomplishment page UI improvements * Move the certificate's location; Added docs for or certification * Reverted PDF generation in browser using iframe; preview certificate generation; UI perm fixes * Untested: product manage screen broken in multiple components; demo cert generation logic on backend * Setup a test suite for backend code; Added tests for certificate generation * CodeQL fixes --------- Co-authored-by: Rajat <hi@rajatsaxena.dev>
1 parent 4126039 commit c31e331

File tree

80 files changed

+4534
-1477
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4534
-1477
lines changed

.cursor/rules/basics.mdc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
alwaysApply: true
3+
---
4+
5+
- Use `pnpm` as package manager.
6+
- The project is structured as a monorepo i.e. a pnpm workspace. The apps are in `apps` folder and re-usable packages are in `packages`.
7+
- Command for running script in a workspace: `pnpm --filter <workspace> <command>`.
8+
- Command for running tests: `pnpm test`.
9+
- The project uses shadcn for building UI so stick to its conventions and design.
10+
- In `apps/web` workspace, create a string first in `apps/web/config/strings.ts` and then import it in the `.tsx` files, instead of using inline strings.

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ coverage
1414
# Text editors configurations
1515
.vscode
1616
.rgignore
17-
.cursor
1817

1918
# Env file
2019
.env*.local
@@ -39,4 +38,7 @@ report*.json
3938
# Dev tools files
4039
.eslintcache
4140

42-
.npmrc
41+
.npmrc
42+
43+
# Jest files
44+
globalConfig.json
140 KB
Loading
93 KB
Loading
111 KB
Loading
82.6 KB
Loading
107 KB
Loading
99.7 KB
Loading
112 KB
Loading
122 KB
Loading

0 commit comments

Comments
 (0)