This Web-Application for SCPTu is a package of two separate applications (server and client modules) built on Nest and Nuxt frameworks respectively. Complete technology stack:
- Back-End:
- Nest
- TypeORM ( MySQL )
- JWT
- Mailer ( HBS )
- Swagger
- Front-End:
- Nuxt ( TypeScript )
- Vuetify
- Axios
- MarkDown
Important to read: Conventional Commits |
- Nest: Docs | Samples
- TypeORM: Docs | Samples | Nest sample
- JWT: Docs | Nest sample
- Swagger: Docs | Nest sample
- Nuxt: API | Guide | Examples
- Axios: API | Samples
- Vuetify: API | Theme | Spacing | Layouts
- Font: Material Design Icons | Vuetify Icons
YRequired for startup and development:
- Node.js ≥ 10.15.1
- Vue-cli
- Nest-cli
- TypeORM-cli && TMG
- Install dependencies
# The client app works with hot reload at localhost:{env port}
$ npm run start:dev
# Build for production and launch server
$ npm run build
$ npm start
# Generate static project
$ npm run start:prod
#
$ npm run database:up
# The server app works with hot reload and formatting,
# as well as automated testing.
$ npm run start:dev
# Run [ unit | e2e | coverage ] tests
$ npm run test
$ npm run test:e2e
$ npm run test:cov
# Build for production and launch server
$ npm run prestart:prod
$ npm start:prod
# E2E Testing
$ npm run test:e2e
# Install dependencies
$ npm i
# CLI helper
$ [ nest | typeorm-model-generator | nuxt | vue ] -h