This project's goal is a video sharing app, that can handle various tasks
referring the platform's users, their channels and videos.
Requirements:
-
Python (https://www.python.org/downloads/)
-
Poetry (https://python-poetry.org/docs/)
For Linux users:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
For Windows users:
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
- Cloned repo
Steps
Being in the main repository directory:
-
cd bananza-backend/
-
poetry install
-
cd src
-
poetry run uvicorn bananza_backend.fastapi:app --host localhost --port 8000 --reload
Requirements:
- npm
- the easiest way to install npm is by installing node-js (https://nodejs.org/en/download/). An installer for Windows and macOS is available. Linux Users can either compile the source code, or install via a package manager (https://nodejs.org/en/download/package-manager/)
- the official npm website offers some alternatives for installing npm (https://docs.npmjs.com/downloading-and-installing-node-js-and-npm). I've had succes with nvm-installer on windows.
Steps
Being in the main repository directory:
-
cd bananza-frontend/
-
npm install
-
To use the developer server, run:
npm run dev
To use the production server, run:npm run build
thennpm run start
The developer server takes less time to start up, but the production server is faster when it comes to running the application.