An open API service indexing awesome lists of open source software.

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.

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
```