Welcome to the DineIn Frontend project! Follow these simple steps to get started.
First, clone the repository and navigate into the project directory:
git clone https://github.com/food-and-pantry-app/Frontend.git
cd Frontend
Install the project dependencies:
npm install
To start the project and view it in the browser, run:
npm run dev
Your project will be available at http://localhost:5173/
. Vite will automatically open it in your default web browser.
To ensure consistent formatting across the team, we use Prettier. Here's how to set it up in Visual Studio Code (VS Code).
- Install the Prettier - Code Formatter extension in VS Code. Go to Extensions (
Ctrl+Shift+X
orCmd+Shift+X
on macOS), search for "Prettier - Code formatter", and click Install. - Enable "Format On Save" by opening Settings (
Ctrl+,
orCmd+,
on macOS), searching for "Format On Save", and checking the box. - Happy coding!