https://github.com/shadowhijackers/node-js-in-typescript
This project is example reference for node js in typescript with express js framework
https://github.com/shadowhijackers/node-js-in-typescript
Last synced: about 1 year ago
JSON representation
This project is example reference for node js in typescript with express js framework
- Host: GitHub
- URL: https://github.com/shadowhijackers/node-js-in-typescript
- Owner: shadowhijackers
- License: gpl-3.0
- Created: 2020-02-07T12:56:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T23:41:41.000Z (over 3 years ago)
- Last Synced: 2025-04-15T02:52:07.748Z (about 1 year ago)
- Language: TypeScript
- Size: 229 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node js in typescript
This project is example reference for node js in typescript with express js framework
with socket io connections.
# Pre Request
You should know basic things about typescript.
## Steps to configure your own project:
* npm install -g typescript ts-node
* mkdir node-apis-project
* cd node-apis-project
* Run `npm init`
* Run `npm install --save @types/express express body-parser mongoose nodemon socket.io @types/socket.io`
* Run `tsc --init`
* Configure tsconfig.json, package.json script as like `tsconfig.json`, `package.json` in this project
* Add this project src folder code in your project
* Run `npm run dev` for Run time development
* Run `npm run prod` for production environment.
**To run this project clone it, run npm i and follow the last two steps.**
> We will add the tutorial steps soon..