Skip to content

acdmft/peertuber-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peertuber back-end part

About the project

Peertuber is the aggregator of the Peertube instances. It is based on the official API that could be found here. To learn more about Peertube visit official site.

Current repository contains the code of the backend server of Peertuber. Check the front-end client repository here.

Peertuber demo.

Dependencies

To manage authentication and cookies:

To implement CORS

Getting started

Launch mongodb database

Create mongodb instance and download videos and instances collections.

import downloaded collections

 mongoimport --host <mongodb uri string> --db <db_name> --type json --file <path/to/downloaded/files> --jsonArray --authenticationDatabase admin --ssl --username <username> --password <password> --collection <collection name>

clone current repo and install dependencies

git clone https://github.com/acdmft/peertuber-back.git
cd peertuber-back 
npm install
// to start server 
node server

create .env file in the root directory and put inside following variables

PORT=5000
MONGO_URI=<mongodb uri>
SERVER_CODE=<secret code>
ALLOWED_URL=http://localhost:3000 // client application url
VIDEO_COLL=<mongodb collection>

Linked In :

https://www.linkedin.com/in/andrei-zheksim/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published