WebAPI for fetching MtG card data using Node.js
- Install Node.js dependencies by using the command
npm i. - Start the development server by using the command
npx nodemon.
- Compile TypeScript files by using the command
npm run tsc. The files will end up in thebuild/directory. - Run the production server by using the command
npm run start:prod.
- If you're deploying to a cloud service like render.com, use the
build command
npm run build. - And the Start Command
npm run start:prod.