pizza HUT

This website is built with React React-router React bootstrap Firebase Authentication Node JS Express JS MongoDB atlas.

  • This website applies to a university admin dashboard.
  • Three routes have been declared here. The first route is used as a course list, the second route as a student list, and the third route as a course add.
  • The main function of this webpage is to add courses and add and delete courses. Which is being done with the help of a backend server. Again, student lists are created with a fake API that provides students with information based on their aptitude course.

Installation

Install pizza-hut with npx

  npx create-react-app pizza-hut
  cd pizza-hut

Install react-router, react-bootstrap, sweetalert, react-spinner, react-rating, firebase authentication and react-hook-form with npm

  npm install react-router-dom@6
  npm install react-bootstrap bootstrap@5.1.3
  npm firebase install
  npm install react-hook-form
  npm install sweetalert --save
  npm install --save react-spinners
  npm install --save react-rating
  npm install react-rating-stars-component --save

And was Installed for backend express.js, mongodb, cors and dotenv.

  npm install express mongodb cors dotenv

Deployment

To Netlify deploy this Client-side run

    firebase login
    firebase init
    npm run build
    firebase deploy

To Heroku deploy this Server-side run

  heruku login
  heroku create
  git push heroku main

🔗 Links

Webpage live

Client-side Code

Server-side Code