tedzchow / shyftlabs-assessment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shyftlabs

This is a monorepo for the Shyftlabs application, which includes both the frontend (React) and backend (Express, MySQL, TypeORM) projects.

Getting Started

Prerequisites

Clone the repository:

git clone git@github.com:tedzchow/shyftlabs-assessment.git
cd shyftlabs-assessment

Backend Setup

  1. Navigate to the backend folder:
cd backend
  1. Install dependencies using Yarn:
yarn install
  1. Copy the .env.example file to .env:
cp .env.example .env
  1. Update the .env file with your MySQL credentials:
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=<YOUR_MYSQL_USERNAME>
DB_PASSWORD=<YOUR_MYSQL_PASSWORD>
DB_DATABASE=<YOUR_MYSQL_DATABASE>
  1. Start backend
yarn start

Frontend Setup

  1. Navigate to the frontend folder:
cd frontend
  1. Install dependencies using Yarn:
yarn install
  1. Copy the .env.example file to .env:
cp .env.example .env
  1. You can customize the frontend configuration in .env.

  2. Start frontend

yarn start

App urls

About


Languages

Language:JavaScript 53.1%Language:TypeScript 37.7%Language:HTML 4.6%Language:CSS 4.5%