Skip to content

tarnilok/react-frontend-milestoneproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Project Skeleton

πŸ“React-MileStoneProject-FrontendEndTerm 
|
|----Readme.md         
SOLUTION
β”œβ”€β”€ πŸ“public 
β”‚     └── index.html  
β”œβ”€β”€ πŸ“src 
β”‚    β”œβ”€β”€ πŸ“assets     
β”‚    β”œβ”€β”€ πŸ“auth 
β”‚    β”‚     └── firebase.js
β”‚    β”œβ”€β”€ πŸ“components 
β”‚    β”‚     └── Navbar.js
β”‚    β”œβ”€β”€ πŸ“context 
β”‚    β”‚     └── AuthContext.js
β”‚    β”œβ”€β”€ πŸ“styling 
β”‚    β”‚     └── toastify.js 
β”‚    β”œβ”€β”€ πŸ“pages 
β”‚    β”‚     β”œβ”€β”€ UpdateCard.js
β”‚    β”‚     β”œβ”€β”€ Login.js
β”‚    β”‚     β”œβ”€β”€ Register.js
β”‚    β”‚     β”œβ”€β”€ Main.js
β”‚    β”‚     β”œβ”€β”€ Profile.js 
β”‚    β”‚      NewCard.js 
β”‚    β”‚      DetailsCard.js        
β”‚    β”œβ”€β”€ πŸ“router
β”‚    β”‚     β”œβ”€β”€ Router.js
β”‚    β”‚     └── PrivateRouter.js 
β”‚    β”œβ”€β”€ App.js
β”‚    β”œβ”€β”€ App.css
β”‚    β”œβ”€β”€ index.js
β”‚    └── index.css
β”‚
β”œβ”€β”€ package.json
β”œβ”€β”€ .env
└── yarn.lock

Outcome

milestoneproject

Steps to Solution

  • Step 1 : Created React App using npx create-react-app react-frontend-milestoneproject

  • Step 2 : Signuped https://firebase.google.com/ and created new app in firebase.

  • Step 3 : Used https://firebase.google.com/docs/auth/web/start and created Authentication operations.

  • Step 4 : Used https://firebase.google.com/docs/database/web/start and created Realtime Database operations.

  • Step 5: Installled & Used

    Material UI, toastify, formik & yup, contextAPI,
    random login background image from https://picsum.photos/1600/900, .env

  • Step 5: Packages:

    npm install @mui/material
    npm install @mui/icons-material
    npm install @emotion/react
    npm install @emotion/styled
    npm install --save material-ui-popup-state
    npm install --save react-toastify
    npm install formik --save
    npm install yup --save
    npm install firebase@8.6.3
    npm install react-router-dom
    npm install gh-pages --save-dev

  • Step 6: Added project gif to the project and README.md file.

  • Step 7: Deployed to heroku

❗❗❗ env development keys

REACT_APP_API_KEY=
REACT_APP_AUTH_DOMAIN=
REACT_APP_DATABASE_URL=
REACT_APP_PROJECT_ID=
REACT_APP_STORAGE_BUCKET=
REACT_APP_MESSAGING_SENDER_ID=
REACT_APP_APP_ID=\

Heroku link

πŸ‘‰