Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1 @@
# Revolut Merchant API Integration Example for React.js + Next.js

<a href="https://codesandbox.io/s/github/revolut-engineering/revolut-merchant-api-example-next-js" target="_blank">
<img width="1074" alt="Screenshot 2020-04-08 at 13 26 14" src="https://user-images.githubusercontent.com/442932/78784056-2de00c00-7994-11ea-988c-36e4af588bf2.png">
</a>

[![Edit revolut-checkout-widget-next-example](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/revolut-engineering/revolut-merchant-api-example-next-js/tree/master/?fontsize=14&hidenavigation=1&module=%2Fpages%2Fcheckout.js&theme=dark)

## System Requirements

- Node.js 10 or later
- MacOS, Windows (including WSL), and Linux are supported

## Setup

Clone this repo:

```sh
$ git clone [email protected]:revolut-engineering/revolut-merchant-api-example-next-js.git
$ cd revolut-checkout-next-sample
```

Install dependencies:

```
$ npm install
```

Create a Revolut Business sandbox account https://sandbox-business.revolut.com

Run dev server (replace `XXXX` with api token from https://sandbox-business.revolut.com/merchant/api):

```
$ REVOLUT_API_KEY=XXXX npm run dev
```

Open web browser: http://localhost:3000

## Documentation

Read more in our official [developer portal](https://developer.revolut.com/docs/merchant-api/#getting-started).

## Related

- [`@revolut/checkout`](https://github.com/revolut-engineering/revolut-checkout) - RevolutCheckout.js as npm module

---

© Revolut LTD