Skip to content

Commit

Permalink
refactor(cleanup): cleanup code (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandebalthasar authored Nov 23, 2023
1 parent a168da2 commit c4deea8
Show file tree
Hide file tree
Showing 89 changed files with 353 additions and 18,534 deletions.
1 change: 0 additions & 1 deletion apps/trackflix/.eslintignore → .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ src/models
.github
.idea
.vscode

File renamed without changes.
12 changes: 4 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,24 @@ on:
push:
branches: [main]
paths:
- "apps/trackflix/**"
- "./**"
pull_request:
branches:
- "*"
paths:
- "apps/trackflix/**"

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
working-directory: ./apps/trackflix
working-directory: ./
run: npm install
- name: eslint
working-directory: ./apps/trackflix
working-directory: ./
run: npm run lint
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end

yarn-error.log
public

.env.*
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
1 change: 0 additions & 1 deletion apps/trackflix/.husky/pre-commit → .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd apps/trackflix
npm run pre-commit
#exit 1
File renamed without changes.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.20.0
File renamed without changes.
63 changes: 54 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,60 @@
## Project overview
# Trackflix

TrackFlix is a tool to organize your video content
Trackflix is a web application built with Gatsby that serves as a tool to organize and manage your video library. With features like a Video Player, Video Preview, and a stunning Background Showcase, Trackflix provides a seamless way to enjoy and organize your favorite videos.
It uses the [Trackflix CMS](https://github.com/trackit/trackflix-cms) as a backend to store and manage video content.

## Table of Contents

- [Features](#features)
- [Getting Started](#getting-started)
- [Environment Variables](#environment-variables)

## Features
- Video Player
- Video Preview
- Background Showcase

This repository contains a two applications, this is a monorepo.
- **Video Player:** Enjoy your videos with a built-in video player.

![Screenshot 2023-10-26 at 7 09 53 PM](https://github.com/trackit/trackflix-client/assets/56727008/76ab4437-f57c-44cd-9539-bc9dacc433ca)

- **Video Preview:** Quickly preview video content before watching.

![Screenshot 2023-10-26 at 7 10 21 PM](https://github.com/trackit/trackflix-client/assets/56727008/70ba843e-795c-43b1-9d3e-61c1faa24e55)

- **Background Showcase:** A visually appealing background to enhance your viewing experience.

![Screenshot 2023-10-26 at 7 10 11 PM](https://github.com/trackit/trackflix-client/assets/56727008/f9112f19-5cf0-426a-9059-1b344b7b05fa)

## Getting Started

These instructions will help you get a copy of Trackflix up and running on your local machine.

### Prerequisites

- [Git](https://git-scm.com/)
- Node.js: [v16.20.x recommended](https://nodejs.org/en/)

### Installation

1. Clone the repository:

```bash
git clone https://github.com/trackit/trackflix-client.git
```

2. Install dependencies:

```bash
npm install
```

3. Start the development server:

```bash
npm run develop
```

- Community website is located in `apps/trackflix`
- Documentation website is located in `apps/documentation`
### Environment Variables

*You'll find related documentation for both applications inside their respective directories*
| Variable Name | Description | Default Value |
| ------------- | ----------- | ------------- |
| `REACT_APP_CMS_BASE_URL` | The URL of the Trackflix API | `https://trackflix-cms.trackit.io/` |
| `REACT_APP_CMS_TOKEN` | The API token used to authenticate with the Trackflix API | None |
34 changes: 0 additions & 34 deletions apps/trackflix/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion apps/trackflix/.husky/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion apps/trackflix/.nvmrc

This file was deleted.

60 changes: 0 additions & 60 deletions apps/trackflix/README.md

This file was deleted.

Loading

0 comments on commit c4deea8

Please sign in to comment.