一个使用 Feathers、带有邮箱验证的锅板模板、带有服务器端渲染的 Vue 2、stylus、scss、jade、babel、webpack、ES 6-8、登录表单、用户管理等功能的应用。
一个使用 Feathers、带有邮箱验证的锅板模板、带有服务器端渲染的 Vue 2、stylus、scss、jade、babel、webpack、ES 6-8、登录表单、用户管理等功能的应用。
A Vue 2 and FeathersJS 2 fullstack app with authentication, email verification, and email support."
This project uses Feathers. 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
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
environment-dev.env and environment.env file to hold your environment variables. These files are ignored by git. You'll want a DATABASE_URL and you gmail info for email verificationDATABASE_URL=mongodb://db/feathersvuedevelopment
[email protected]
[email protected]
GMAIL_PASSWORD=your_pass_passwordSee How to set an app password
npm startnpm run build-qa
npm run qanpm run build-dev
npm 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 build
npm run productionIf you want emails to work using gmail add the following environment variables
export [email protected]
export GMAIL_PASS=yourpassword or app-passwordSee How to set an app password
Simply run npm test and all your tests in the test/ directory to run server side unit test or run npm 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 visit docs.feathersjs.com.
I'm working on a cordova starter with feathers 2, Vue 2, and Framework 7. Visit the cordova branch of this repo.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install python-pip
sudo pip install docker-composesshd_config nano /etc/ssh/sshd_configPasswordAuthentication PasswordAuthentication yesreload ssh DATABASE_URL=mongodb://db/feathersvue
DEPLOYMENT_SERVER_IP=your_ip_address
DEPLOYMENT_SERVER_PASS=your_user_password
DEPLOYMENT_SERVER_USER=your_server_userdocker-compose.autodeploy.yml web image to point to your hosted image.gitlab-ci.yml in the only sections to only run on the branches you want to deploy from.Copyright (c) 2016
Licensed under the MIT license.
暂无开放 Issues,或尚未同步最近议题。