Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgermduarte/template-node-typescript
A node.js typescript api tempate.
https://github.com/jorgermduarte/template-node-typescript
code-style dependabot docker docker-compose eslint github github-workflow google husky javascript node nodejs nodejs-server typescript workflow
Last synced: about 15 hours ago
JSON representation
A node.js typescript api tempate.
- Host: GitHub
- URL: https://github.com/jorgermduarte/template-node-typescript
- Owner: jorgermduarte
- License: mit
- Created: 2022-04-02T16:45:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T08:02:36.000Z (over 1 year ago)
- Last Synced: 2024-05-28T21:20:00.806Z (6 months ago)
- Topics: code-style, dependabot, docker, docker-compose, eslint, github, github-workflow, google, husky, javascript, node, nodejs, nodejs-server, typescript, workflow
- Language: TypeScript
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node typescript api template
A api template project for express with typescript.
# Example .env file
```
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASSWORD=
MYSQL_DATABASE=mysql_database_name
PORT=8080MYSQL_HOST_PROD=db
MYSQL_USER_PROD=produser
MYSQL_PASSWORD_PROD=123456PHP_MYADMIN_PORT=9000
```## Commands
```
"build": "tsc",
"eslint:fix": "eslint src/**/*.ts --fix",
"eslint:check": "eslint src/**/*.ts",
"start": "npm run build && node dist/web-api/server.js",
"prepare": "husky install"
```## Project features
- husky
- eslint
- typescript
- nodejs
- docker
- express-validators
- express
- error handling
- clean architecture
- docker-compose
- middlewares
- not found middleware
- loggers
- dependabot
- github workflows