Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-26T12:10:25.000Z (about 2 years ago)
- Last Synced: 2024-07-21T21:52:51.711Z (4 months ago)
- Topics: docker, nestjs, postgres, prisma, tailwindcss, typescript, vite, vue
- Language: TypeScript
- Homepage:
- Size: 792 KB
- Stars: 4
- Watchers: 2
- 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
```