social-network
A social network wep app built with vue.js & rails api
install dependencies
Vue
System dependencies: nodejs
npm install
API
-
On ubuntu run
sudo apt install libpq-dev
-
Ruby version:
2.3.3
-
System dependencies:
Rails 5.1.4
&nodejs
-
CD to api folder & run
bundle install
-
Database initialization
rake db:setup
-
Database creation
rake db:create && rake db:migrate && rake db:seed
Development running
root folder run
npm run dev
npm run api
Wep App is served with hot reload at localhost:1111
For a detailed explanation on how things work, check out the guide and docs for vue-loader.