Skip to content

A front end repository for CookWithWhat - an answer to all your cooking dilemmas.

Notifications You must be signed in to change notification settings

fac29/CookWithWhat-FE

Repository files navigation

CookWithWhat?

This repository holds the front-end functionality for a recipe browsing and searching web app that allows users to maintain and share their collections of favourite recipes, as well as make new culinary discoveries. See what's cooking!

Installation and initialisation

Here are instructions for how to install this locally on the repo:

  1. Clone the repo:
git clone https://github.com/fac29/CookWithWhat-FE.git
  1. Navigate to the repo:
cd CookWithWhat-FE
  1. Install NPM packages:
npm install
  1. Create a .env file :
 touch .env.development

and include the following line:

VITE_REQUEST_URL = "your_local_develpment_server_adress eg. http://localhost:3000"
  1. Create a .env file:
touch .env.production

and include the following line:

VITE_REQUEST_URL = "your_production_backend_server_url"
  1. Enter the following script to run the server in the development mode:
npm run dev
  1. To build the app for production use the following script:
npm run build

Prettier configuaration

Prettier should be installed with other packages upon initialization and should utilize the .prettierrc config file in the repository to ensure uniform formatting among contributors. For reference, the configuration is presented below:

{
    "trailingComma": "es5",
    "tabWidth": 4,
    "singleQuote": true
}

Testing

TBC

About

A front end repository for CookWithWhat - an answer to all your cooking dilemmas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •