Code Monkey home page Code Monkey logo

nest-youtube-assignment's Introduction

Nest youtube api

instructions

  1. clone the repository

  2. add env variables to the system as per .env.example or create .env.development (for development server) / .env.production, a .env.development will also be sent via email

  3. postgres is required to run this project, a docker-compose.yml file may be used to run postgres and optionally adminer using docker

   docker-compose up
  1. run the development server
pnpm run start:dev

For running in production

  1. build the application
pnpm run build
  1. start using
pnpm run start:prod

Postman instructions

Please find nest-youtube-postman_collection.json in the root of the folder

add baseUrl env variable to the project settings (if not available)

http://localhost:3000
  • Sign up using the the route in Users/signup
  • Login using Users/signin and copy the jwt token from the response body
  • Open project Authorization settings and set Authorization to Bearer Token and paste the token in Token field, this token will be sent on all requests

nest-youtube-assignment's People

Contributors

bhavyacodes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.