Xenelectronic

XenElectronic is one of electronics and home appliance store. To improve customers’ growth for their business, this application helps them to grow the business.

Summary

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Things needed and how to install:

Installing

Clone the repository

git clone https://github.com/julianjca/XenElectronic.git

Install dependencies on both backend and frontend

cd backend
yarn 
or 
npm install
cd frontend
yarn 
or 
npm install

Install dependencies for root folder to run the app

yarn 
or 
npm install

Create .env.local on the front end

cd frontend
touch .env.local

Fill it with

API_URL = http://localhost:3030

Migration and Seeding the back end

Make sure you have sequelize-cli installed.

Migration

cd backend
yarn migrate
or 
npm run migrate

Seed

cd backend
yarn seed
or 
npm run seed

Run the app

yarn dev 
or 
npm run dev

Running the tests

Back end test

cd backend
yarn test
or 
npm run test

Back end coverage

I am using jest so jest has built in coverage feature --coverage

cd backend
yarn coverage
or 
npm run coverage

Built With

App screenshots

Coverage

coverage

Frontend App

products cart pay thank you