This repository contains the frontend for a website aimed at providing information about surplus food from restaurants, cafes, and local food stores. Built using React, Vite, and deployed using GitHub Pages.
- Production: https://turahan.ziakode.com/
- Development: https://turahan-cb23-ps003.github.io/frontend/
Ensure Node.js and npm are installed on your computer.
-
Clone the repository:
git clone https://github.com/Turahan-CB23-PS003/frontend.git
-
Navigate to the project folder:
cd frontend
-
Install dependencies:
npm install
After installation, run the development server with the command:
npm run dev
Visit http://127.0.0.1:5173/
in your browser to see the application running.
To deploy the application to GitHub Pages, run:
npm run deploy
This will build the project and deploy it to the gh-pages
branch in your repository.
- React - JavaScript library for building user interfaces.
- Vite - Next-generation frontend development tool.
- GitHub Pages - Hosting platform for GitHub projects.