Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!(strapi-integration): replace amplify API by strapi #14

Merged
merged 14 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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.
11 changes: 0 additions & 11 deletions .vscode/settings.json

This file was deleted.

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 |
42 changes: 0 additions & 42 deletions amplify.yml

This file was deleted.

11 changes: 0 additions & 11 deletions amplify/backend/api/trackflixAPI/parameters.json

This file was deleted.

2 changes: 0 additions & 2 deletions amplify/backend/api/trackflixAPI/resolvers/README.md

This file was deleted.

Loading
Loading