Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinodnextcoder/nodejs-typescript-express-typeorm-mysql-boilerplate
Nodejs Express +Typescript + TypeORM + MySQL boilerplate
https://github.com/vinodnextcoder/nodejs-typescript-express-typeorm-mysql-boilerplate
nodejs nodejs-express-mysql nodejs-express-typescript nodejs-express-typescript-typeorm nodejs-express-typescript-typeorm-mysql nodejs-typescript-template typeorm-mysql typescript-typeorm
Last synced: 13 days ago
JSON representation
Nodejs Express +Typescript + TypeORM + MySQL boilerplate
- Host: GitHub
- URL: https://github.com/vinodnextcoder/nodejs-typescript-express-typeorm-mysql-boilerplate
- Owner: vinodnextcoder
- License: mit
- Created: 2023-08-04T17:05:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-08T07:12:59.000Z (over 1 year ago)
- Last Synced: 2024-11-07T18:25:05.723Z (2 months ago)
- Topics: nodejs, nodejs-express-mysql, nodejs-express-typescript, nodejs-express-typescript-typeorm, nodejs-express-typescript-typeorm-mysql, nodejs-typescript-template, typeorm-mysql, typescript-typeorm
- Language: TypeScript
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boilerplate code to get started with building RESTful API Services (Nodejs, Express, TypeORM Mysql)
```
cd existing_repo
git remote add origin
git branch -M main
git push -uf origin main
```
### Development```bash
npm run dev
```### Production
```bash
pm2 start ecosystem.config.js --env production
```### Running tests
```bash
npm test
```### Linting
```bash
npm run lint
```### Building a container
```bash
docker build -t test/rest-api-typescript .
```### Run docker image
```bash
docker run -p 8080:3000 -d rahulse97/rest-api-typescript
```### Print app output
```bash
docker logs
```### Enter the container
```bash
docker exec -it /bin/bash
```