Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosmicjs/vue-authentication
Authentication app powered by Cosmic and Vue JS
https://github.com/cosmicjs/vue-authentication
api cms cosmicjs headlesscms vue vuejs
Last synced: 3 months ago
JSON representation
Authentication app powered by Cosmic and Vue JS
- Host: GitHub
- URL: https://github.com/cosmicjs/vue-authentication
- Owner: cosmicjs
- Created: 2019-05-30T15:19:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:49:52.000Z (about 2 years ago)
- Last Synced: 2024-04-11T16:59:55.181Z (10 months ago)
- Topics: api, cms, cosmicjs, headlesscms, vue, vuejs
- Language: JavaScript
- Homepage: https://cosmicjs.com/articles/how-to-build-an-authentication-app-using-cosmic-js-vuejs-and-lambda-lambda
- Size: 3.09 MB
- Stars: 5
- Watchers: 4
- Forks: 4
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue Authentication
![Image](https://cosmic-s3.imgix.net/07bad470-82ef-11e9-a2b6-fd5a5aa69111-logo.jpg)----
## Features- Netlify hosting (plus CDN, Prerendering, Minification, etc..)
- Vuetify components for interface
- AWS Lambda functions via Netlify
- Cosmic JS for Database API
- Password hashing using PBKDF2 with Salt
- Email Verification using Nodemailer via SendinBlue## Needed Improvements
- Password reset function
- User avatar support----
## Prerequisites
> You will be required to have Node JS and npm before starting. Make sure you already have them installed. If not you can find them here: https://nodejs.org>In order to deploy you will need a Netlify account.
Also for SMTP server to send email verification link I am using SendInBlue since they give you 300 free emails a day.----
## Usage
1. Write markdown text in this textarea.
2. Click 'HTML Preview' button.#### Clone and install
`git clone https://github.com/cosmicjs/vue-authentication````
cd vue-authentication && npm install
```#### Integrate DB and SMTP services
- Add Cosmic JS Bucket Slug, Read key, and Write key to `~/cosmic.js`
- Add SendInBlue SMTP API Key to `~/functions/CreateNewUser.js`#### Running Locally
To start AWS Lambda server run:
`npm run start:lambda`Running the app localhost run:
`npm run serve`#### Building for production:
`npm run build`----
## Thanks
* [Cosmic JS](https://github.com/evilstreak/markdown-js)
* [SendInBlue](https://www.sendinblue.com/)
* [Vuetify](https://vuetifyjs.com/en/)
* [Netlify Functions](https://www.netlify.com/docs/functions/)