plaskevich / recordshop

Home Page:https://record-shop.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RecordShop

Netlify Status

RecordShop is a web application made for managing inventory of a record store.

Visit record-shop.netlify.app to see the deployed version

⚠️ It make take a while on a first load (e.g. when logging in) becasue server hosting is free and is spun down after 15 min of inactivity

Steps to run locally:

1. Install dependencies

yarn

2. Setup environment variables

In the root folder create .env file which should contain:

REACT_APP_NODE_ENV=development
REACT_APP_PROD_SERVER=https://recordshop-lymf.onrender.com/graphql
REACT_APP_DEV_SERVER=http://localhost:4000/graphql

3. Run the application

yarn start

Using the app

For testing purposes you may login with following credentials:

Email: test@example.com

Password: simplepass

E2E Tests

In order to run the tests, the server should be running locally on localhost:4000

1. Run the app in dev mode

yarn dev

2. Run tests in headless

yarn test:e2e

About

https://record-shop.netlify.app


Languages

Language:JavaScript 98.1%Language:HTML 1.0%Language:SCSS 0.9%