https://github.com/taronvardanyan/vidly
Video renting application for beginners in node.js
https://github.com/taronvardanyan/vidly
expressjs jwt mongodb mongoose nodejs
Last synced: 8 months ago
JSON representation
Video renting application for beginners in node.js
- Host: GitHub
- URL: https://github.com/taronvardanyan/vidly
- Owner: TaronVardanyan
- Created: 2022-06-16T09:43:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T17:01:30.000Z (almost 2 years ago)
- Last Synced: 2025-08-04T13:58:06.037Z (8 months ago)
- Topics: expressjs, jwt, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 17
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
-
Installation: Clone the repository and install dependencies. -
Environment Variables: Set up environment variables. Create a.envfile in the root directory and add the necessary configurations (e.g., database URL, JWT secret). -
Development: Start the development server.
git clone https://github.com/TaronVardanyan/vidly.git
cd vidly
bun install
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:
- Fork the repository.
- Create a new branch (
git checkout -b feature/my-feature). - Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature/my-feature). - Create a new Pull Request.
License
This project is licensed under the ISC License.