Skip to content

flurium/spentoday-shop

Repository files navigation

Spentoday shop

Frontend for each shop.

Developing

Clone the repository:

git clone https://github.com/flurium/spentoday-shop.git

Get inside of folder:

cd spentoday-shop

Use dev branch:

git checkout dev

From install dependencies:

npm install

Set environment variable on your machine, so it works with local backend. Not in .env file, but in machine settings.

NODE_TLS_REJECT_UNAUTHORIZED=0

Setup .env file with such variables:

PUBLIC_API_URL=https://localhost:44303

Start development server:

npm run dev

And run next command to watch for code changes and generate types when changes appear:

npm run check:watch