1
- <img alt =' overnightjs ' src =' https://github.com/ljlm0402/typescript-express-starter/raw/master/typescript-express-starter.jpg ' border =' 0 ' >
1
+ <img alt =' logo ' src =' https://github.com/ljlm0402/typescript-express-starter/raw/master/typescript-express-starter.jpg ' border =' 0 ' >
2
2
3
3
[ Express] ( https://www.npmjs.com/package/express ) with [ TypeScript's] ( https://www.npmjs.com/package/typescript ) application generator.
4
4
5
5
<a href =" https://www.npmjs.com/package/typescript-express-starter " target =" _blank " ><img src =" https://img.shields.io/npm/v/typescript-express-starter.svg " alt =" NPM Version " /></a >
6
6
<a href =" https://www.npmjs.com/package/typescript-express-starter " target =" _blank " ><img src =" https://img.shields.io/npm/l/typescript-express-starter.svg " alt =" Package License " /></a >
7
7
<a href =" https://www.npmjs.com/package/typescript-express-starter " target =" _blank " ><img src =" https://img.shields.io/npm/dm/typescript-express-starter.svg " alt =" NPM Downloads " /></a >
8
8
9
-
10
9
## What is it?
11
10
12
- Creates a new express application similar to the _ express-generator _ module. Except this new
11
+ Creates a new typescript express application.
13
12
application is configured to use TypeScript instead of plain JavaScript.
14
13
15
14
## Why typescript-express-starter?
@@ -18,19 +17,6 @@ NodeJS is great for the rapid development of web-projects, but is often neglecte
18
17
type safety. TypeScript solves this issue and (along with its linter file) can even make your code
19
18
more robust than some other static languages like Java.
20
19
21
- There are some other tools out there to generate express apps with TypeScript such as
22
- _ express-generator-ts_ , but these either haven't been updated in a while or install a lot of junk
23
- in your project (such as an ORM).
24
-
25
- Due to the heavy use of single-page-applications, no view-engine is configured by default. Express is
26
- only setup with the minimal settings for calling APIs and serving an index.html file. All the tools you
27
- need to run for development (while restarting on changes), building, testing, and running for production
28
- are packaged with this library.
29
-
30
- In addition, relative paths are also setup, so you don't have to go through the trouble of installing
31
- and configuring _ tsconfig-paths_ and _ module-alias_ . Just make sure to update ` paths ` in _ tsconfig.json_
32
- and ` _moduleAliases ` in _ package.json_ if you want to add/edit the relative paths.
33
-
34
20
## Installation
35
21
36
22
``` sh
@@ -40,7 +26,7 @@ $ npm install -g typescript-express-starter
40
26
## Quick Start
41
27
42
28
The quickest way to get started is use npx and pass in the name of the project you want to create.
43
- If you don't specify a project name, the default _ express-gen-ts _ will be used instead.
29
+ If you don't specify a project name, the default typescript-express-starter _ will be used instead.
44
30
45
31
Create the app:
46
32
@@ -64,3 +50,5 @@ $ cd "project name" && npm run start
64
50
## License
65
51
66
52
[ MIT] ( LICENSE )
53
+
54
+ <sub ><sup >Written by <a href =" https://github.com/ljlm0402 " >@AGUMON </a ></sup ></sub ><small >✌</small >
0 commit comments