/simple_web_api

Web APIs with Node.js, Express, MongoDB and TypeScript

Primary LanguageTypeScript

RESTful Web APIs with Node.js, Express, MongoDB and TypeScript

This is a simple API that saves quotes based on project https://github.com/dalenguyen/rest-api-node-typescript

The OpenSSL key and certificate wasn't working so I generated them by following this article:
https://medium.freecodecamp.org/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec

Still have 'Could not get any response' error using postman(need to turn off SSL certyficate verification in postman setting to get it working).

It's working correctly using browser.

Start the server

First there need to be typescript instaled
npm install -g typescript ts-node

Then install the dependencies
npm install

Run in development mode
npm run dev