https://github.com/nguyenduclong-ict/express-nuxt-boilerplates
https://github.com/nguyenduclong-ict/express-nuxt-boilerplates
boilerplates express typescript vue
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nguyenduclong-ict/express-nuxt-boilerplates
- Owner: nguyenduclong-ict
- Created: 2023-02-15T17:26:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T17:31:47.000Z (over 2 years ago)
- Last Synced: 2025-02-22T17:49:14.614Z (8 months ago)
- Topics: boilerplates, express, typescript, vue
- Language: Vue
- Homepage:
- Size: 521 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# express-nuxt-boilerplates
backend: Express + Mongodb + Typescript, validator with class-decorator
fontend: Nuxtjs (nuxt verion 2)
## Snipet for VSCode
```bash
# create controller
# create file into server/controllers/controler-name.controller.ts
$ controller# create router
# create file into server/router/router-name.ts
$ router# create mongodb model
# create file server/database/ModelName.ts
$ entity
```## Get Started
```bash
# install dependencies
$ pnpm install# copy .env.example to .env file
# start mongodb in docker
$ pnpm run dc:up# serve with hot reload at localhost:3000
$ pnpm run dev# build for production and launch server
$ pnpm run build
$ pnpm run start
```