Skip to content

Abdus-Samee/CSE-216-Crunchyroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSE-216-Crunchyroll

Crunchyroll is our project for the course CSE-216. This is focused on streaming anime and manga to the viewers.

The project schema can be viewed via link below:

Crunchyroll Schema

ERD of our project can be viewed here:

Crunchyroll ERD

YouTube link: here

A brief screenshot is given below:

Project ERD (1)

A video demonstration of our work can be viewed in the following link:

Crunchyroll Video Demo

Requirements

For development, you will only need Node.js and a node global package, Yarn, installed in your environement.

Node

  • Node installation on Windows

    Just go on official Node.js website and download the installer. Also, be sure to have git available in your PATH, npm might need it (You can find git here).

If the installation was successful, you should be able to run the following command.

$ node --version
v8.11.3

$ npm --version
6.1.0

If you need to update npm, you can make it using npm! Cool right? After running the following command, just open again the command line.

$ npm install npm -g

Yarn installation

After installing node, this project will need yarn too, so just run the following command.

  $ npm install -g yarn

SQL execution

We are using oracle as our database. In the Navicat GUI, we open a connection with our database user and related password. Then we select our schema and right click it. After that, we select the option Execute SQL file and mention the file path of HR.sql. This will import all the data and tables.

Screenshot (16)


Clone Project

$ git clone https://github.com/Abdus-Samee/CSE-216-Crunchyroll.git
$ cd CSE-216-Crunchyroll

Crunchyroll Server

As our project includes large video and pdf files as a source folder of server, these files were not pushed in the Git, in order to recreate the project the "public" folder can be manually downloaded from the following drive link:

Crunchyroll-Server\public

In the terminal, the following command will run the server

$ cd crunchyroll-server
$ yarn install

This will download all the necessary packages required to run the server. Next run the following command.

$ yarn start

However, it should generate an error for failing to locate a specific module,

image

Therefore it is required to install Oracle instant Client, which can be found in the this Link

From there, it is required to download basic package zip and extract in the local computer.

image

After extracting, the file path of the downloaded folder is to be saved or copied.

image

Now, back to Crunchyroll-Server source file in the IDE, in the connection\query.js, search for the line with the keyword "oracledb.initOracleClient" and update the file path according to your own file path from earlier like below:

image

Notice that, the file path string should now also include double blackslashes like the image above.

One last thing to do is checking the connection string inside query function of repository class of connection/query.js. Our schema was developed inside the hr schema. Provide the username and relevant password of your database user.

gg

Now running the following command again should run the server.

 $ yarn start

Crunchyroll Client

The client part should have its own modules and packages required to run including react scripts. So, in another terminal run the folowing commands:

$ cd crunchyroll-client
$ yarn install

This should download all the required packages. It may take some time. Then running followiing command should open up the react app.

$ yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published