Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vinodnextcoder/nodejs-typescript-express-typeorm-mysql-boilerplate

Repository files navigation

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

npm run dev

Production

pm2 start ecosystem.config.js --env production

Running tests

npm test

Linting

npm run lint

Building a container

docker build -t test/rest-api-typescript .

Run docker image

docker run -p 8080:3000 -d rahulse97/rest-api-typescript

Print app output

docker logs <container id>

Enter the container

docker exec -it <container id> /bin/bash

AltStyle によって変換されたページ (->オリジナル) /