Skip to content

Production-Ready REST API with Node.js, TypeScript & MongoDB

Notifications You must be signed in to change notification settings

kabandr/typescript-rest-api

Repository files navigation

typescript-rest-api

REST API with Node.js, TypeScript and MongoDB

What you will need

  • A running instance of MongoDB
  • Postman
  • An IDE or text editor (VS Code)
  • A web browser
  • A package manager such as NPM or Yarn
  • Node.js installed

What next?

  • Testing the API with Jest
  • Build a React.js user interface
  • Add Prometheus metrics to the API
  • Deploy the API with Caddy & Docker
  • Add Google OAuth

Concepts

  • REST API principles
    • CRUD
    • HTTP methods
  • JWT & refresh tokens
  • Request validation

Technologies

  • Node.js
  • MongoDB with Mongoose
  • TypeScript
  • Express.js & Express.js middleware

Installation

yarn
yarn start

or

npm install
npm start

About

Production-Ready REST API with Node.js, TypeScript & MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published