Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rocketseat-content/youtube-challenge-next-stripe

Mini e-commerce example created with Next.js and Stripe API.
https://github.com/rocketseat-content/youtube-challenge-next-stripe

Last synced: about 2 months ago
JSON representation

Mini e-commerce example created with Next.js and Stripe API.

Awesome Lists containing this project

README

        


Code Challenge - E-commerce with Next.js SSG and Stripe

Mini E-commerce using Next.js Static Site Generator and Stripe Payment API.



Contributors


License


## Participants

| [](https://github.com/guilhermerodz) |
| :------------------------------------------------------------------------------------------------------------------------: |

| [Guilherme Rodz](https://github.com/guilhermerodz)

## Functional Requirements

- [x] User can view all available products
- [x] User can buy any available product

## Business Rules

- [x] User is sent to Stripe for Checkout

## Non-functional Requirements

- [x] Next.js (Static Site Generation)
- [x] Stripe
- [x] React

## Dependencies

- [Node](https://nodejs.org/en/) = 10

## Getting started

1. Clone this repository;

2. Run `npm or yarn install` at each project in order to install dependencies.

3. Run `yarn dev`.

4. Access `localhost:3000` in your browser.

5. Run `yarn build && yarn serve` for build and serve the static folder.

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests.