Skip to content

Jamesmoreno21/typescript-express-cognito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typescript-express-cognito

  1. Add:
  • Development dependencies
npm install nodemon typescript ts-node dotenv @types/node @types/express --save-dev
  • Normal dependencies
npm install express body-parser express-validator
  1. Add some scripts on package.json file:
"scripts": {
    "dev": "nodemon",
    "start": "ts-node src/server",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  1. Create tsconfig.json file to configure TS compiler base on node 14. See this for more info.

Directory

/
├─ src/
│  ├─ app.ts # Defines the class for the application
│  ├─ server.ts # Runs the server
│  ├─ controllers/
│    ├─ Home.controllers.ts # Base controller
├─ .env.example # Show description for .env file
├─ .gitignore # Ignore files config
├─ package.json # Proyect config
├─ package-lock.json
├─ README.md
├─ tsconfig.json # TS compiler config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published