https://github.com/googleinterns/ad-lib
https://github.com/googleinterns/ad-lib
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/googleinterns/ad-lib
- Owner: googleinterns
- Created: 2020-06-19T16:21:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-18T17:24:18.000Z (almost 3 years ago)
- Last Synced: 2023-08-26T06:35:41.062Z (almost 3 years ago)
- Language: Java
- Size: 128 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ad-lib
Ad-lib features a React frontend with a Java backend. In order to connect the frontend and backend
and correctly route which microservice handles request, a dispatch.yaml file has been defined.
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Run the front-end and back-end locally:
### Front-end
```bash
cd frontend
yarn local
```
### Back-end
```bash
cd backend
mvn package appengine:run
```
or
```bash
build
```
## Deploy web-application using dispatch.yaml
```bash
gcloud init
gcloud config set project [Project_ID]
gcloud app deploy dispatch.yaml
```
## Deploy web-application to producation
```bash
gcloud init
gcloud config set project [Project_ID]
```
### React front-end
```bash
cd frontend
yarn build
gcloud app deploy
```
### Java back-end
```bash
cd backend
mvn package appengine:deploy
```