https://github.com/glweems/typescript-express-starter
A starting point for Node.js express apps with TypeScript
https://github.com/glweems/typescript-express-starter
Last synced: 3 months ago
JSON representation
A starting point for Node.js express apps with TypeScript
- Host: GitHub
- URL: https://github.com/glweems/typescript-express-starter
- Owner: glweems
- License: mit
- Created: 2019-07-15T00:14:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T01:30:23.000Z (over 2 years ago)
- Last Synced: 2025-01-11T15:39:11.691Z (4 months ago)
- Language: TypeScript
- Size: 942 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript Express Starter
[TypeScript-Node-Starter](https://github.com/Microsoft/TypeScript-Node-Starter)를 참고하여 개발환경을 구축합니다.
## Build Setup
``` bash
# install dependencies
$ npm install# database migrate
$ npm run migrate
# or
$ npx knex migrate:latest# serve
$ npm start
```## Dependencies
#### dependencies
| Package | Description |
| ------- | ----------- |
| body-parser | Express 4 middleware. |
| bookshelf | JavaScript ORM for Node.js, build on the Knex. |
| dotenv | Loads environment variables from .env file. |
| express | Node.js web framework. |
| knex | SQL query builder. |
| lusca | Web application security for express apps. |
| morgan | HTTP request logger middleware for node.js |
| mysql2 | fast node-mysql compatible mysql driver for node.js |
| validatorjs | A data validation library in JavaScript for the browser and Node.js, inspired by Laravel's Validator. |#### devDependencies
| Package | Description |
| ------- | ----------- |
| chai | assertion library |
| concurrently | Utility that manages multiple concurrent tasks. Used with npm scripts |
| cross-env | Cross platform setting of environment scripts. |
| debug | A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. |
| mocha | JavaScript test framework |
| mock-knex | a knex mock adapter for simulating a db during testing. |
| nodemon | automatically restart |
| supertest | HTTP assertion library. |
| ts-node | TypeScript execution environment for node. |
| tsconfig-paths | Load node modules according to tsconfig paths |
| tslint | Linter (similar to ESLint) for TypeScript files |
| tslint-config-standard | A TSLint config for JavaScript Standard Style. |
| typescript | JavaScript compiler/type checker that boosts JavaScript productivity |