Giter Site home page Giter Site logo

egangotri-react-daily-work-report's Introduction

eGangotri Daily Work Report

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Configure absolute Paths

https://levelup.gitconnected.com/understand-and-configure-absolute-import-paths-in-javascript-5cde3be2630d

Linting

https://creativedesignsguru.com/how-to-configure-eslint-prettier-react/ npm i eslint --save-dev npm install eslint-config-airbnb-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser --save-dev

Use of Personal Access Token

git push https://egangotri:[email protected]/eGangotri/egangotri-react-daily-work-report.git insert your Tokern in PAT above

Google Firebase Deployment

https://www.geeksforgeeks.org/how-to-deploy-react-project-on-firebase/

First time npm install -g firebase-tools firebase login A Chrome browswe will open - use e*tr@gmail acct. firebase init Are you ready to proceed? Yes ? Which Firebase features do you want to set up for this directory? Press Space to select features, then Enter to confirm your choices. (Press to select, to toggle all, to invert selection, and to proceed) Choose: () Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys

? What do you want to use as your public directory? build
? Configure as a single-page app (rewrite all urls to /index.html)? (y/N) y
? Set up automatic builds and deploys with GitHub? (y/N) 

What do you want to use as your public directory? public
Configure as a single-page app (rewrite all urls to /index.html)? Yes
Setup automatic builds No

yarn run build firebase deploy *** note you need to be logged in with the correct firebase email otherwise firebase deploy will fail

Code will be viewable below: https://egangotri-daily-work-report.web.app

###ENvironment Variables

//can be prod or dev REACT_APP_DEV_ENV=prod REACT_APP_FAST_REFRESH=false REACT_APP_BACKEND_SERVER_PROD=https://XXXXXXXX.com/ REACT_APP_BACKEND_SERVER_DEV=http://localhost:80/

egangotri-react-daily-work-report's People

Contributors

egangotri avatar writetochetanpandey avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.