Vaela-V / cooperacynuxt

cooperacy platform universal-app with Node, Express, Vue and Nuxt frameworks, MySql DB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cooperacynuxt

cooperacynuxt

Hello, welcome to Cooperacy Platform universal app, based on NodeJs, Express, Vue, Nuxt (including Babel and Webpack, check Nuxt.js docs) with Vuex store + Vue Bootstrap and on a MySQL database, along with some minor extensions like the nice Jimp (Js Gimp).

First place where to start is to see the MySql database you find in /etc/dumbdatabase. Then pass to api.js file, that is the main and only Express file used to access the database and some other minor server side functions. Then please continue to the "store" folder and see how shared state variables are managed by VUEX and through Actions connected with the api.js file. Finally, see the index.vue file in the pages, continue to the defaul layout, and review the pages and their components. You can conclude your overview with a brief look at the assets and at the only css file on top of the Vue Bootstrap css architecture (No, we kept it 'simple' and didn't implement SCSS/SASS). Note: we tend to use all >singular< naming for database tables and internal variables.

If you want to learn all the technologies used, we are slowly creating a gamified crash guide, check the learning game: https://github.com/amdp/cooperacynuxt/blob/master/learningGame.md

For detailed explanation on how things work on Cooperacy, check the Platform idea on https://cooperacy.org/platform.

Have fun and happy coding!

Setup

# install dependencies
$ npm install

# setup .env
$ cp /etc/dumbenv .env

# serve with hot reload at localhost:3000
$ npm run dev

#On a new terminal, start the experimental money pool distributor:
$ ./pool

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

If you contribute, please keep this file 42 lines short. And don't worry. Be happy!

About

cooperacy platform universal-app with Node, Express, Vue and Nuxt frameworks, MySql DB


Languages

Language:Vue 60.1%Language:TSQL 26.9%Language:JavaScript 10.5%Language:CSS 1.5%Language:HTML 0.6%Language:Shell 0.4%