https://github.com/aliosmandev/vue-nest-auth-example
Full stack authentication example with Docker and Tailwind integration
https://github.com/aliosmandev/vue-nest-auth-example
docker nestjs postgres prisma tailwindcss typescript vite vue
Last synced: 4 months ago
JSON representation
Full stack authentication example with Docker and Tailwind integration
- Host: GitHub
- URL: https://github.com/aliosmandev/vue-nest-auth-example
- Owner: aliosmandev
- License: mit
- Created: 2022-10-16T10:47:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-26T12:10:25.000Z (over 3 years ago)
- Last Synced: 2025-12-22T07:44:26.711Z (7 months ago)
- Topics: docker, nestjs, postgres, prisma, tailwindcss, typescript, vite, vue
- Language: TypeScript
- Homepage:
- Size: 792 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vue nest authantication example!!
## Tech stack
- Frontend
- Vuejs
- Tailwind
- Vee Validate
- Backend
- NestJS
- PostgreSQL
- Prisma
- Other
- ESLint / Prettier
- Docker / Docker Compose
- Vercel
# Getting Started
# Docker
You can launch the development environment with one command!
```bash
docker-compose up
```
After successful launch, go to the following URL in your browser!
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
:warning: Containers have dependencies, but the next container may start to be started before the preparation is complete.
If it fails for that reason, please specify the start-up separately as follows.
```bash
docker-compose up postgres
```
See `docker-compose.yaml` if you want to know more.
# Local
Prepare PostgreSQL and create a database for development. then fill in the environment variables in the `.env.example` file.
# Frontend
### Project Setup
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
# Backend
### Installation
```bash
$ npm install
```
### Running the app
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
```