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

Open for Reviews! #1

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
9156783
Add : Added Navbar
PrakharV10 Mar 30, 2021
dd59f28
Created Search Page Design
PrakharV10 Mar 30, 2021
e149461
Add : Video Play page
PrakharV10 Mar 31, 2021
945306c
Feat : Router Support, Course Section
PrakharV10 Apr 3, 2021
f11a4fa
Feat : Notes , Liked Videos
PrakharV10 Apr 4, 2021
ed9f0c3
Added Playlist
PrakharV10 Apr 5, 2021
cd22b18
Feat : PlayList Management
PrakharV10 Apr 5, 2021
0a7cae9
Fix : Playlist Image Bug
PrakharV10 Apr 6, 2021
ae8c993
Add : Error 404 Page
PrakharV10 Apr 6, 2021
bf157f8
Add : Explore Page
PrakharV10 Apr 6, 2021
e29cee5
Added Landing Page
PrakharV10 Apr 6, 2021
e4094a7
Feat : Toast on Save
PrakharV10 Apr 6, 2021
26dbb27
Netlify Router Fix
PrakharV10 Apr 7, 2021
cc48187
Add Manifest Details
PrakharV10 Apr 7, 2021
35d91ef
Fix : Landing page height
PrakharV10 Apr 7, 2021
087468c
Fix : Placeholder bug
PrakharV10 Apr 7, 2021
25a6b14
Fix : Note Component bug
PrakharV10 Apr 7, 2021
ef1986b
Feat : Authentication Support
PrakharV10 Apr 8, 2021
8520329
Feat : Account Page
PrakharV10 Apr 8, 2021
863d925
Fix: Card Overlapping Bug
PrakharV10 Apr 8, 2021
88c766d
Fix Signup Bug
PrakharV10 Apr 9, 2021
8ecc500
Fix : Shareable Video Link Bug
PrakharV10 Apr 10, 2021
e1146aa
Added Auth Backend
PrakharV10 Apr 12, 2021
1af7894
Fix : Unused Lines
PrakharV10 Apr 12, 2021
5a881bb
Update README.md
PrakharV10 Apr 12, 2021
63cd8e1
Added Login Modal
PrakharV10 Apr 14, 2021
f86db5a
Fix : Note Bug
PrakharV10 Apr 14, 2021
cd77935
Refactored : Backend Fetch Data
PrakharV10 Jun 6, 2021
717f8f3
Feat : Playlist Add with server
PrakharV10 Jun 6, 2021
ba4799f
Refactor : Library page, Note taking Component
PrakharV10 Jun 6, 2021
116ffeb
Refactor : Account management
PrakharV10 Jun 6, 2021
04aaa45
Refactored : Login, Signup Backend + JWT Support
PrakharV10 Jun 6, 2021
125d2a1
Added v2 support
PrakharV10 Jun 6, 2021
c18a0e9
Fix : Welcome Message
PrakharV10 Jun 6, 2021
aa49954
Update README.md
PrakharV10 Jun 6, 2021
f3ff818
fix : loading when not logged in
PrakharV10 Jun 6, 2021
954cedd
Merge branch 'Development' of https://github.com/PrakharV10/sparrow-v…
PrakharV10 Jun 6, 2021
e5a4b33
Fix : Search Feature, Add : Guest Credentials
PrakharV10 Jul 19, 2021
1412f14
Fix : Bugs, Corner Cases
PrakharV10 Jul 21, 2021
bf19ac6
Fix : Guest Credentials
PrakharV10 Jul 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Sparrow Visuals AKA **Dove**

## Description -
Dove is a Video Library for students aspiring to be Graphic Designers, 2D Animation Artists or 3D Modelling Artists. Dove has the best tutorials playlists, curated from Youtube, listed in the form of Courses, to help everyone follow a definite path, that offer video series of all levels of difficulty. Dove also provides a feature for jotting down notes, while watching the video.

Dove also provides users the best experience, as they can Sign In on the Website, and like their favorite videos and add them to multiple playlists at once. And last but not least, Dove is fully responsive, for it's mobile users' convenience.

## Live Link -
[Dove](https://sparrow-visuals.netlify.app)

## Test Credentials -
- email : johndoe@gmail.com
- password : 123456

Or you can signup and create a new ID.

## Technologies Used -
1) HTML, CSS & React Js
2) sparrow designs component library
3) React Router
4) Repl.it for API server.
5) NodeJs, ExpressJS for backend.
6) JWT for authorization
7) bcrypt for Password hashing.
8) Netlify for hosting the static server.

## Screenshots -
![3](https://user-images.githubusercontent.com/70899048/114407498-14385c80-9bc6-11eb-9948-5a47cf6dc28c.JPG)
![1](https://user-images.githubusercontent.com/70899048/114407372-f23eda00-9bc5-11eb-9c6e-3b55d25e5843.JPG)
![2](https://user-images.githubusercontent.com/70899048/114407378-f4089d80-9bc5-11eb-9abe-a7e5fe6a3985.JPG)
16,898 changes: 16,898 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "sparrow-visuals",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"axios": "^0.21.1",
"history": "^5.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-markdown": "^5.0.3",
"react-player": "^2.9.0",
"react-router-dom": "^6.0.0-beta.0",
"react-scripts": "4.0.3",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^2.0.3",
"web-vitals": "^1.1.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
1 change: 1 addition & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
Binary file added public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon.ico
Binary file not shown.
21 changes: 21 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="A Video Library for Learning Graphics Designing, 3d Modelling & 2D Animation."
/>
<link rel="stylesheet" href="https://sparrow-design.netlify.app/css/components.css">
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Sparrow Visuals</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
Binary file added public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "Sparrow",
"name": "Sparrow Visuals",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
36 changes: 36 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
scrollbar-width: thin;
scrollbar-color: var(--gray-300) var(--gray-800);
}

html{
scroll-behavior: smooth;
}

:root{
--yellow-500 : #FFD21D;
--yellow-600 : #E7B236;
--gray-900 : #28282d;
--gray-800 : #2B2B31;
--gray-300 : rgba(255,255,255,0.75);
--white-100 : #FFF;
--pink-800 : #FF56A2;
}


body{
/* font-family: 'Source Sans Pro', sans-serif;
font-family: 'Ubuntu', sans-serif; */
font-family: 'Roboto', sans-serif;
width: 100%;
min-height: 100vh;
background-color: var(--gray-800);
}

45 changes: 45 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import { useState } from 'react';
import { Routes, Route } from 'react-router-dom';

import './App.css';
import NavBar from './Components/NavBar/NavBar';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use index.js file in every folder to export everything so that all the components belonging to same type can be imported in a single line

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the advice. Will surely implement this.

import SideBar from './Components/SideBar/SideBar';
import {
PageNotFound,
Account,
Course,
Explore,
Home,
Library,
LogIn,
Signup,
VideoPlay,
} from './Pages';
import PrivateRoute from './PrivateRoute';

function App() {
const [showMenu, setShowMenu] = useState(false);

return (
<div className="App">
<NavBar setShowMenu={setShowMenu} showMenu={showMenu} />

<main>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/courses/:courseUrl" element={<Course />} />
<Route path="/watch/:videoID" element={<VideoPlay />} />
<Route path="/explore" element={<Explore />} />
<Route path="*" element={<PageNotFound />} />
<Route path="/login" element={<LogIn />} />
<Route path="/signup" element={<Signup />} />
<PrivateRoute path="/library" element={<Library />} />
<PrivateRoute path="/account" element={<Account />} />
</Routes>
<SideBar setShowMenu={setShowMenu} showMenu={showMenu} />
</main>
</div>
);
}

export default App;
Binary file added src/Assets/images/bgImg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Assets/svg/Likes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added src/Assets/svg/SvgFunction.js
Empty file.
Loading