Skip to content

REST API built with Node.js, MongoDB, Mongoose & TypeScript. I also dabbled with Docker and Caddy for deployments

Notifications You must be signed in to change notification settings

mxnuchim/REST-API-Express-TypeScript

Repository files navigation

REST API with Node.js, Mongoose & TypeScript

Note: This repository includes the postman collection for the finished API

Note 2: Make sure you add .env to your .gitignore before pushing any changes to your repository. You mght also want to generate new public & private keys. Mine are disposable

Issues I encountered and how to fix them

What you will need

  • A running instance of MongoDB
  • Postman (Insomnia/Thunder client/Rapid API client also work)
  • An IDE or text editor (I like VS Code so yeah)
  • A web browser
  • A package manager such as NPM or Yarn
  • Node.js installed

Data flow

Access & refresh token flow

Deployment options (I'll probably experiment with all of them lol)

  • Docker (image)
  • docker-compose (container)
  • Caddy - Web server
  • DigitalOcean

Note: You will need Docker installed locally if you want to test your Docker configutation

Let's keep in touch

About

REST API built with Node.js, MongoDB, Mongoose & TypeScript. I also dabbled with Docker and Caddy for deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published