Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yusufshakeel/pizza-microservice-frontend
This is a microservice project. This repository contains frontend code.
https://github.com/yusufshakeel/pizza-microservice-frontend
Last synced: 4 days ago
JSON representation
This is a microservice project. This repository contains frontend code.
- Host: GitHub
- URL: https://github.com/yusufshakeel/pizza-microservice-frontend
- Owner: yusufshakeel
- Created: 2021-08-03T14:19:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T19:52:17.000Z (about 3 years ago)
- Last Synced: 2024-11-09T20:44:37.488Z (2 months ago)
- Language: JavaScript
- Size: 2.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pizza-microservice-frontend
This is a microservice project. This repository contains frontend code.# Prerequisite
* Homebrew (for Mac)
* Node +10.0.0
* Docker
* Kubernetes enabled (Docker for Mac/Win)
* [Skaffold](https://skaffold.dev/)# STRIPE setup
Set `STRIPE_PSP_PUBLIC_KEY` in this file `src/constants/app-constants.js`
with your Stripe `Publishable key`### For local development I have set the following on my Mac
File: `/etc/hosts`
```
##
# for pizza microservice project
# https://github.com/yusufshakeel/pizza-microservice-backend
##
127.0.0.1 pizza.localdev
# End of section
```So, when I open https://pizza.localdev it goes to localhost.
# To build docker image run the following command
```
$ npm run docker-build
```# To deploy run the following command
```
$ skaffold dev
```