https://github.com/reaganm02/nuxt3-boiler-plate
Nuxt 3 Boilerplate with MongoDB, featuring Eslint, Pinia, Mongoose, JWT, Nanoid, XSS protection, Bcrypt, and Tailwind integration!
https://github.com/reaganm02/nuxt3-boiler-plate
mongodb nuxt3 nuxt3-starter nuxt3-template typescript-boilerplate
Last synced: 4 months ago
JSON representation
Nuxt 3 Boilerplate with MongoDB, featuring Eslint, Pinia, Mongoose, JWT, Nanoid, XSS protection, Bcrypt, and Tailwind integration!
- Host: GitHub
- URL: https://github.com/reaganm02/nuxt3-boiler-plate
- Owner: ReaganM02
- Created: 2023-07-21T03:55:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T04:30:12.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T04:27:35.302Z (5 months ago)
- Topics: mongodb, nuxt3, nuxt3-starter, nuxt3-template, typescript-boilerplate
- Language: TypeScript
- Homepage:
- Size: 272 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt 3 Boilerplate for MongoDB
This Nuxt3 boilerplate includes the following dependencies- `eslint` - Widely used tool for linting and enforcing code style and quality.
- `@nuxtjs/eslint-config-typescript` - Pre-configured Eslint setup for Nuxtjs.
- `@pinia/nuxt` - Pinia state management pattern and library for Vue.js applications.
- `mongoose` - For MongoDB Schema and modeling.
- `mongo-sanitize` - Prevent potential NoSQL injection attacks in MongoDB-based applications.
- `jsonwebtoken` - For Authentication and Authorization.
- `nanoid` & `nanoid-dictionary` - For generating a random and unique ID's.
- `xss` - For sanitizing data before sending to the database.
- `bcrypt` - For password hashing
- `@nuxtjs/tailwindcss` - For UI### MongoDB Configuration
1. Create a `.env` file
2. Inside the file, `MONGO_URL=add-your-mongo-URL-here...`If configuration is successful, you should be able to see the `Successfully connected to DB.` in the terminal.