feat: Implement company offer submission page and success notification
- Added CompanyOffer component for submitting company offers with validation. - Integrated email sending functionality upon form submission. - Created a success page for company registration confirmation. - Introduced a reusable SuccessNotification component for displaying success messages. - Updated account update functionality with new fields and validation. - Enhanced user experience with back button and logo components. - Added necessary database migrations for account updates.
This commit is contained in:
52
README.md
52
README.md
@@ -1,17 +1,22 @@
|
||||
# MedReport README
|
||||
|
||||
## Prerequisites
|
||||
"node": ">=20.0.0",
|
||||
"pnpm": ">=9.0.0"
|
||||
## Prerequisites
|
||||
|
||||
```json
|
||||
"node": ">=20.0.0",
|
||||
"pnpm": ">=9.0.0"
|
||||
```
|
||||
|
||||
## Project structure
|
||||
```
|
||||
|
||||
```text
|
||||
/ app - pages
|
||||
/ components - custom components, helper components that not provided by any package. Place to extend an redefine components from packages
|
||||
/ config - bunch of configs, that are provided by starter kit.
|
||||
/ config - bunch of configs, that are provided by starter kit.
|
||||
/ content - (temporary?) - to be removed when cleaned all dependencies
|
||||
/ fonts - (temporary) - contains fonts, should be relocated to another place (maybe public)
|
||||
/ lib - diffirent libs, services, utils
|
||||
- fonts.ts - project fonts setup, which becomes available as a global css variable
|
||||
- fonts.ts - project fonts setup, which becomes available as a global css variable
|
||||
/ i18n - translations/localization setup
|
||||
/ public - public assets
|
||||
/ locales - translations under a corresponding local - at a specific namespace
|
||||
@@ -21,26 +26,47 @@
|
||||
- theme.css - more specific variables, available as tailwindcss property-class
|
||||
- makerkit.css - Makerkit-specific global styles
|
||||
- markdoc.css - Styles for Markdoc Markdown files.
|
||||
-
|
||||
-
|
||||
/ supabase - primary supabase
|
||||
/ tooling - a workspace package, used for generation packages in node_modules and provides global links for its data. The most important is typescript config
|
||||
/ utils
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Migration from old structure
|
||||
```bash
|
||||
|
||||
```bash
|
||||
pnpm clean
|
||||
pnpm i
|
||||
```
|
||||
|
||||
## Adding new dependency
|
||||
|
||||
```bash
|
||||
```bash
|
||||
pnpm add <pacakge-name> -w
|
||||
```
|
||||
|
||||
## Supabase
|
||||
TODO
|
||||
|
||||
Start supabase in docker
|
||||
|
||||
```bash
|
||||
npm run supabase:start
|
||||
```
|
||||
|
||||
Link your local supabase with a supabase project
|
||||
|
||||
```bash
|
||||
npm run supabase:deploy
|
||||
```
|
||||
|
||||
After editing supabase tables/functions etc update migration files
|
||||
|
||||
```bash
|
||||
npm run supabase:db:diff
|
||||
```
|
||||
|
||||
To update database types run:
|
||||
|
||||
```bash
|
||||
npm run supabase:typegen:app
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user