Skip to content

Get Started

Installation

  • Use node > "^18.17.1"
  • Use yarn > "yarn@4.1.0"

On a desired directory

terminal
git clone <repo>

On DEV and PRODUCTION enviroments, this project makes API calls to third party services for some features to work, like weather or image widget, make sure to provide the following environment keys:

.env
OPEN_WEATHER_KEY=<your_key>
UNSPLASH_ACCESS_KEY=<your_key>
UNSPLASH_SECRET_KEY=<your_key>
SUPABASE_DATABASE_PASSWORD=<your_db_password>
SUPABASE_URL=<your_url>
SUPABASE_KEY=<your_key>

After succesfully downloading the source code, go inside the project directory and install the dependencies.

terminal
cd n3-waffle    // go to project directory
yarn            // install dependencies
yarn dev        // start development server

To test project before deploying, build and preview

terminal
yarn build
yarn preview