•  


GitHub - nicolasgarnier/friendlypix-web-react: An Isomorphic React Firebase App
Skip to content

nicolasgarnier/friendlypix-web-react

Repository files navigation

Friendly Pix Web - React edition

Friendly Pix Web is a sample app demonstrating how to build a isomorphic React Web app with the Firebase Platform.

Friendly Pix is a place where you can share photos, follow friends, comment on photos...

The following React techs are being used:

  • Isomorphism with ReactDOMServer hosted on Cloud Functions
  • React Router v4
  • CSS Modules
  • Redux
  • Firebase UI
  • react-redux-firebase v2

Initial setup, build tools and dependencies

Friendly Pix is built using Javascript, Firebase and React . The Auth flow is built using Firebase-UI .

FriendlyPix is an Isomorphic app, the first render of the app is generated server side using Cloud Functions for Firebase .

Additionally server-side micro-services are built on Cloud Functions for Firebase such as an automatic image moderation and notifications sending.

Install all JavaScript/Build/Deploy tools dependencies by running:

$ npm install

Create and configure your Firebase Project

  1. Create a Firebase project using the Firebase Console .
  2. Generate a Service accounts file from ? > Project Settings > Service Accounts > GENERATE NEW PRIVATE KEY > GENERATE KEY and save it as ./microservices/service-account-credentials.json
  3. Enable Google as a Sign in provider in Firebase Console > Authentication > Sign in Method tab.
  4. Enable Facebook as a Sign in provider in Firebase Console > Authentication > Sign in Method tab. You'll need to provide your Facebook app's credentials. If you haven't yet you'll need to have created a Facebook app on Facebook for Developers
  5. At the root of the site run firebase use --add . When prompted select the Firebase Project you have just created. This will make sure the Firebase CLI is configured to use your particular project.

Start a local development server

You can start a local development server by running:

npm run serve

This will start firebase serve and make sure your Javascript files are transpiled and packed automatically.

Then open http://localhost:5000 in your browser.

Deploy the app

Before deploying your code you need to build it for production. Run:

npm run build

This will install all runtime dependencies and transpile and pack Javascript code to ES5, install Cloud Functions dependencies. Then run:

firebase deploy

Then this deploys a new version of your code that will be served from https://<PROJECT_ID>.firebaseapp.com

Contributing

We'd love that you contribute to the project. Before doing so please read our Contributor guide .

License

ⓒ Google, 2011. Licensed under an Apache-2 license.

About

An Isomorphic React Firebase App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본