New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run the project #18
Comments
hey @mishelashala, Use typescript to build the project. {
"name": "nest.js-tutorial",
"version": "1.0.0",
"description": "An implmentation tutorial about NestJS",
"main": "main.js",
"scripts": {
"build": "tsc",
"start": "node dist/main.js"
},
"author": "ThomRick",
"license": "ISC",
"dependencies": {
"body-parser": "^1.17.1",
"nest.js": "^1.0.0-rc8"
},
"devDependencies": {
"@types/es6-promise": "0.0.32",
"@types/node": "^7.0.11",
"typescript": "^2.2.1"
}
} and tsconfig.json {
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"outDir": "dist",
"typeRoots": [
"node_modules/@types"
]
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules"
]
} I have the following project structure:
So I build the project with the command
and start it with the command
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've completed the tutorial. But I don't know how the hell run it. And I've been looking in the docs and I found nothing.
The text was updated successfully, but these errors were encountered: