Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 604 Bytes

File metadata and controls

20 lines (13 loc) · 604 Bytes

mtg-api

WebAPI for fetching MtG card data using Node.js

development

  1. Install Node.js dependencies by using the command npm i.
  2. Start the development server by using the command npx nodemon.

production

  1. Compile TypeScript files by using the command npm run tsc. The files will end up in the build/ directory.
  2. Run the production server by using the command npm run start:prod.

setting up cloud service deployment

  1. If you're deploying to a cloud service like render.com, use the build command npm run build.
  2. And the Start Command npm run start:prod.