Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 728 Bytes

README.md

File metadata and controls

54 lines (36 loc) · 728 Bytes

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