- Notifications
You must be signed in to change notification settings - Fork46
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
License
codingfriend1/Feathers-Vue
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A Vue 2 and FeathersJS 2 fullstack app with authentication, email verification, and email support."
This project usesFeathers. An open source web framework for building modern real-time applications and Vue 2 with Server Side Rendering.
This project is not finished but if you are can be ready to use if you are content with what it offers.
Features
- SASS
- Stylus
- Pug
- ES6, ES7, and ES8
- Webpack
- Vue Stash - For Redux Store
- Bootstrap
- Lodash
- jQuery
- FontAwesome
- Validate client side data with mongoose schemas
Getting up and running is as easy as 1, 2, 3, 4.
There are multiple ways to start/develop the app.
Don't install node_modules locally
- Create a
environment-dev.envandenvironment.envfile to hold your environment variables. These files are ignored by git. You'll want a DATABASE_URL and you gmail info for email verification
DATABASE_URL=mongodb://db/feathersvuedevelopmentCOMPLAINT_EMAIL=your_email@gmail.comGMAIL=your_email@gmail.comGMAIL_PASSWORD=your_pass_password- Run npm start
npm start- To see production build locally
npm run build-qanpm run qa- To switch back to development use
npm run build-devnpm startSwitching contexts between production and development requires a full docker build with no cache.
Install your dependencies
cd path/to/Feathers-Vue; npm installStart your app locally
mongodnpm run devIn production run
npm run buildnpm run production
If you want emails to work using gmail add the following environment variables
export GMAIL=yourgmailaccount@gmail.comexport GMAIL_PASS=yourpassword or app-passwordSimply runnpm test and all your tests in thetest/ directory to run server side unit test or runnpm run integration to run client side side tests.
Feathers has a powerful command line interface. Here are a few things it can do:
$ npm install -g feathers-cli # Install Feathers CLI$ feathers generate service # Generate a new Service$ feathers generate hook # Generate a new Hook$ feathers generate model # Generate a new Model$ feathers help # Show all commandsFor more information on all the things you can do with Feathers visitdocs.feathersjs.com.
I'm working on a cordova starter with feathers 2, Vue 2, and Framework 7. Visit thecordova branch of this repo.
- Create a digitalocean instance from using the one-click docker instance.
- ssh into the instance and run
sudo apt-get update sudo apt-get upgrade sudo apt-get -y install python-pip sudo pip install docker-compose- Edit
sshd_config
nano /etc/ssh/sshd_config- At the bottom of the file change
PasswordAuthentication
PasswordAuthentication yes- Run
reload ssh - Set the secret environment variables in gitlab
DATABASE_URL=mongodb://db/feathersvue DEPLOYMENT_SERVER_IP=your_ip_address DEPLOYMENT_SERVER_PASS=your_user_password DEPLOYMENT_SERVER_USER=your_server_user- Update
docker-compose.autodeploy.ymlweb image to point to your hosted image. - Update
gitlab-ci.ymlin theonlysections to only run on the branches you want to deploy from. - Push changes in git to gitlab.
- Removed mongoose validation from client side and replaced with Yup.
- Reconstructed server-side rendering to use updated instructions in vuejs.
- Moved server-entry file into app.
Copyright (c) 2016
Licensed under theMIT license.
About
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.