Skip to content

ToriK17/art_studio

Repository files navigation

# Art Studio

An Ionic React app built with Vite.

## Local Development

### Prerequisites

- [Node.js](https://nodejs.org/) (v18 or later recommended)
- npm (comes with Node.js)

### Setup

1. Clone the repository:

   git clone <repo-url>
   cd art_studio

2. Install dependencies:

   npm install

3. Set up environment variables:

   Create a `.env` file in the project root with your Contentful API credentials:

   ```
   VITE_REACT_APP_SPACE_ID=your_space_id_here
   VITE_REACT_APP_ACCESS_TOKEN=your_access_token_here
   ```

   Find these in the Contentful dashboard under **Settings → API keys**.
   Without these, the Gallery page will not load any content.

4. Start the development server:

   npm run dev

5. Open your browser and navigate to http://localhost:5173

The app will hot-reload as you make changes to the source files.

### Other Commands

- `npm run build` — Compile TypeScript and build for production (output in `dist/`)
- `npm run preview` — Preview the production build locally
- `npm run test.unit` — Run unit tests with Vitest
- `npm run test.e2e` — Run end-to-end tests with Cypress
- `npm run lint` — Lint the codebase with ESLint

About

This PWA is a digital gallery dedicated to my dad's fantastic artwork. https://www.kafatiartstudio.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors