timb-103 / nuxt-mongodb-auth-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt 3 MongoDB Auth Example

A simple Nuxt 3 example using the Nuxt MongoDB Auth layer to add a mongoDB authentication flow to your project.

Prerequisites

For this example to work, add your mongo connection string and main database name into a .env file:

MONGO_CONNECTION_STRING=
MONGO_DB=

Install

Clone the repo to your system

git clone https://github.com/timb-103/nuxt-mongodb-auth-example.git

Install dependencies

npm i

Running

npm run dev

About


Languages

Language:Vue 94.1%Language:TypeScript 5.9%