Skip to content

hoangchuongit/api-youtube-sharing-app

Repository files navigation

API Youtube Sharing app

API of youtube sharing app. Built from NestJS 10.

Live mode: https://web-production-33daa.up.railway.app/docs username: admin password: admin

Client side live mode: https://web-youtube-sharing-app-production.up.railway.app Client side github: https://github.com/hoangchuongit/web-youtube-sharing-app

Features

  • User registration and login with JWT
  • Sharing YouTube videos
  • Real-time notifications for new video shares with Web socket

Tech Feature

  • API docs using Swagger UI with a protected route.

  • N|Solid

  • Using Docker setup to run on local

  • Also include testing modules for all: controllers, services, repositories, entities, etc... You can try with the command below after setting the environment for the application:

yarn run test

N|Solid

  • In additional, use Husky to manage git commits
  • N|Solid

Tech

API Youtube Sharing app uses a number of open source projects to work properly:

  • NestJS - A progressive Node.js framework
  • Node.js - evented I/O for the backend
  • Yarn - package manager that doubles down as project manager
  • Visual Studio Code - Code editing.Redefined. Free. Built on open source. Runs everywhere.
  • Docker - Accelerated Container Application Development

Installation

API Youtube Sharing app requires Node.js v20+ and to run. Recommended to use version 20.12 In addition, also need to install Yarn and Docker to develop the project.

After install node you can install global packages.

npm install -g @nestjs/cli yarn

After clone the project, please follow the steps to run it on your local:

Step 1: install the dependencies and devDependencies:

yarn install

Step 2: Run on local:

yarn docker:dev

The above command will create a new Container as image:

N|Solid

API we run on host: http://localhost:3001/docs

  • Username: admin
  • Password: admin

N|Solid

Database will run on the host: http://localhost:8002/

  • Username: admin
  • Password: admin

N|Solid

Copyright ©2024.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published