https://github.com/mageddo/react-seo
https://github.com/mageddo/react-seo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mageddo/react-seo
- Owner: mageddo
- Created: 2017-10-21T15:00:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-08T21:51:32.000Z (over 8 years ago)
- Last Synced: 2025-02-02T01:41:15.174Z (over 1 year ago)
- Language: JavaScript
- Size: 147 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a POC to test if react apps based in rest services are indexing at google as well, the objective is to understand if you can safely create client-side rendering applications without hurts you SEO, anyway this project is focused in react.js
#### Building the docker image
docker-compose up compiler-app && docker-compose up compiler-api && docker-compose build build
Running the builded image
docker run --hostname react-seo.herokuapp.com -e HOSTNAMES=us-east-1-a.route.herokuapp.com --rm defreitas/react-seo:1.0
#### Developing
Running containers
docker-compose up -d react-seo-api react-seo-app react-seo-reverse-proxy
Attaching in containers to manage servers
API
$ docker exec -it react-seo-api bash
go run api/cmd/main.go
APP
$ docker exec -it react-seo-app bash
cd app && npm install && npm start
#### Running it in heroku
Generating binaries
docker-compose up compiler-api compiler-app
Uploading
heroku git:remote -a react-seo
heroku login
heroku container:login
heroku container:push web