---
# System prepended metadata

title: How I solved this pesky cors issue
tags: [' solution', ' error message', cors]

---

---
tags: cors, solution, error message
aliases: cors issue
collab: https://hackmd.io/@eddieyu/ByhDZd0CK/edit
---

# How I solved this pesky cors issue

## Process/how do you write a doc?

### Document creation / update

- Use or create templates

use case: I want to write a docs on ad serving service

1. Create a md with the service docs template
   1. Includes the front matter (tags, aliases, link to the live editing link)
   1. Basics skeleton
      1. TBC
1. Create a branch (if you're using Obsidian, you'll have to do this via the CLI)
1. Create a living editing session (e.g. hackmd, vscode live share) for drafting and collaborating
1. Follow standard flow (e.g. create PR, assign reviewer, merge)

# Template

---
tags:
aliases:
codeowner: (only in project docs)
---

## How-to template

### Situation (what happened)

### Task (what needs to be done)

### Action (steps taken to resolve the task)

### Response (what was the outcome)

## backend service template

### Ports and domains

### Enviornments

### Endpoints (request shape?)

### Descriptions

### Use cases

### Branches and their description

## frontend ui template

### Description (+ screenshots)

### Links to designs/wireframes

### Ports & domains

### Dependencies

### yarn scripts

### Branches and their description

### API Requests

## frontend integration template

### Descriptions

### Exposed API

### Use cases

### Examples setup

### Branches and their description
