Skip to content

tillgr/vidly_api

Repository files navigation

Node.js Backend App for "vidly"

The result of this course project is the backend for a real video rental app.

Topics covered

  • Node module system
  • Using existing Node packages or publishing own
  • Writing asynchronous TypeScript code (promises and async/await)
  • Implementing CRUD operations
  • Storing complex, relational data in MongoDB using Mongoose
  • Implementing data validation
  • Implementing authentication and authorization
  • Handling and logging errors effectively
  • Setting up configuration for various environments (dev, test, prod)
  • Writing unit and integration tests
  • Building features using test-driven development
  • Writing clean, maintainable code
  • Deploying Node apps to Heroku

Available Scripts

In the project directory, you can run:

npm start:db

Uses the mongodb driver to start the db.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner and runs all tests sequentially.\

npm test:watch

Launches the test runner in the interactive watch mode.\

Releases

No releases published

Packages

No packages published