Skip to content

Full stack authentication example with Docker and Tailwind integration

License

Notifications You must be signed in to change notification settings

aliosmandev/vue-nest-auth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

docker-compose up

After successful launch, go to the following URL in your browser!

⚠️ 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.

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

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Backend

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod