Skip to content

cbaldelomar/movies-node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

movies-node-api

REST API using Node.js and Typescript with:

  • Express
  • MySql
  • Sequelize

Add typescript

Config

  1. Install typescript local
npm install typescript -D
  1. Add to package.json scripts
"tsc": "tsc"
  1. Init tsconfig.json
npm run tsc -- --init

Auto compile and watch

  1. Install ts-node-dev
npm install ts-node-dev -D
  1. Add to package.json scripts
"dev": "ts-node-dev src/app.ts"

Change src/app.ts with your app entry point.

Now you can use npm run dev to compile and run your app.

About

REST API with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published