Skip to content

Commit 4655c81

Browse files
committed
refactor: improve base code
1 parent 9b73f6d commit 4655c81

File tree

103 files changed

+1835
-1423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1835
-1423
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# expresso with Sequelize
1+
# expresso with TypeORM
22

3-
[![documentation](https://img.shields.io/badge/Documentation-yes-brightgreen.svg)](https://github.com/masb0ymas/expresso-sequelize#readme)
4-
[![maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/masb0ymas/expresso-sequelize/graphs/commit-activity)
5-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/masb0ymas/expresso-sequelize/blob/master/LICENSE.md)
3+
[![documentation](https://img.shields.io/badge/Documentation-yes-brightgreen.svg)](https://github.com/masb0ymas/expresso-typeorm#readme)
4+
[![maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/masb0ymas/expresso-typeorm/graphs/commit-activity)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/masb0ymas/expresso-typeorm/blob/master/LICENSE.md)
66

7-
[![version](https://img.shields.io/badge/Version-5.0.3-blue.svg?cacheSeconds=2592000)](https://github.com/masb0ymas/expresso-sequelize/releases/tag/v5.0.3)
7+
[![version](https://img.shields.io/badge/Version-4.3.0-blue.svg?cacheSeconds=2592000)](https://github.com/masb0ymas/expresso-typeorm/releases/tag/v4.3.0)
88
[![Express](https://img.shields.io/badge/Express-4.18.2-informational?logo=express&color=22272E)](https://expressjs.com/)
99
![Node](https://badges.aleen42.com/src/node.svg)
1010
![Eslint](https://badges.aleen42.com/src/eslint.svg)
@@ -13,11 +13,12 @@
1313

1414
## Feature
1515

16-
- [TypeScript](https://github.com/microsoft/TypeScript) `4.9.x`
17-
- [Sequelize](https://github.com/sequelize/sequelize) `6.x`
16+
- [TypeScript](https://github.com/microsoft/TypeScript) `5.1.x`
17+
- [TypeORM](https://github.com/typeorm/typeorm) `0.3.x`
1818
- [Nodemailer](https://github.com/nodemailer/nodemailer) `6.x`
1919
- [Handlebars](https://github.com/wycats/handlebars.js) for templating HTML
2020
- [Yup](https://github.com/jquense/yup) for validation schema `1.x`
21+
- [SWC](https://github.com/swc-project/swc) for build runtime app `1.3.x`
2122
- JavaScript Style [Standard with TypeScript](https://github.com/standard/eslint-config-standard-with-typescript)
2223
- Formating code using [Prettier](https://github.com/prettier/prettier) Integration [Eslint](https://github.com/prettier/eslint-config-prettier) and [TypeScript Eslint](https://github.com/typescript-eslint/typescript-eslint#readme)
2324
- Using [Module Alias](https://github.com/ilearnio/module-alias) for simplify the require/import paths
@@ -30,8 +31,12 @@
3031
1. Clone this repository
3132
2. Duplicate `.env.example` to `.env`
3233
3. Setup database settings inside `.env` file
33-
4. Create your database ( manual )
34+
4. Create your database ( manual ) or run `yarn db:create && yarn db:reset`
3435
5. Run `yarn dev` command
36+
6. Run watch command `yarn dev:watch`
37+
7. Release your app for *Production* or *Staging* with `yarn release`
38+
8. Build your code with Docker `docker build -t yourname/express:v1.0.0 .`
39+
9. Run with docker image `docker run -p 7000:8000 -d yourname/express:v1.0.0`
3540

3641
## Author
3742

src/app.ts

Lines changed: 0 additions & 227 deletions
This file was deleted.

0 commit comments

Comments
 (0)