GithubHelp home page GithubHelp logo

vidly's Introduction

Vidly

Vidly is an Express application for managing a video rental service. It includes functionalities such as user authentication, video rental management, and more.

Features

  • User Authentication: Secure authentication using JSON Web Tokens and bcrypt for password hashing.
  • Data Validation: Validate data using Joi.
  • Database: Use MongoDB and Mongoose for data storage and manipulation.
  • Security: Enhance security with Helmet.
  • Logging: Log requests and errors using Morgan and debug.
  • Views: Render views using Pug template engine.

Getting Started

  1. Installation: Clone the repository and install dependencies.
  2. git clone https://github.com/TaronVardanyan/vidly.git
    cd vidly
    bun install
    
  3. Environment Variables: Set up environment variables. Create a .env file in the root directory and add the necessary configurations (e.g., database URL, JWT secret).
  4. Development: Start the development server.
  5. bun dev
    

Dependencies

  • bcrypt: Password hashing.
  • config: Application configuration.
  • debug: Debugging utility.
  • express: Web framework for Node.js.
  • fawn: Transactions in MongoDB.
  • helmet: Security middleware.
  • joi: Data validation library.
  • jsonwebtoken: JSON Web Token implementation.
  • mongodb: MongoDB driver for Node.js.
  • mongoose: MongoDB object modeling tool.
  • morgan: HTTP request logger middleware.
  • nodemon: Utility that monitors for changes and automatically restarts the server.
  • pug: Template engine.

Scripts

  • test: Placeholder for running tests (currently not specified).

Contributing

We welcome contributions to Vidly! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/my-feature).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/my-feature).
  5. Create a new Pull Request.

License

This project is licensed under the ISC License.

vidly's People

Contributors

taronvardanyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

biblotrh

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.