https://github.com/ctrlplusb/sst-cors-example
An example of CORS configuration in the context of a Serverless Stack application.
https://github.com/ctrlplusb/sst-cors-example
Last synced: 5 months ago
JSON representation
An example of CORS configuration in the context of a Serverless Stack application.
- Host: GitHub
- URL: https://github.com/ctrlplusb/sst-cors-example
- Owner: ctrlplusb
- Created: 2021-12-07T08:35:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-07T14:14:08.000Z (about 4 years ago)
- Last Synced: 2025-07-10T03:52:52.241Z (6 months ago)
- Language: TypeScript
- Size: 292 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Serverless Stack CORS Example
This repository provides an example of CORS configuration in the context of a Serverless Stack application.
It presents a configuration in which the Frontend includes secure HTTP Only cookies in requests made against the Backend.
## Getting Started
Bootstrap the dependencies via `yarn`:
```bash
yarn install
```
The run the development command:
```bash
yarn dev
```
> This repo has been configured to run as a "local"-only app.
## Acceptance Criteria
```cucumber
Given I have a HttpOnly Cookie from the Backend
When I make any request to the Backend from the Frontend
Then the Cookie should be sent to the Backend
```