Skip to content
cooperacy platform universal-app with Node, Express, Vue and Nuxt frameworks, MySql DB
Vue TSQL JavaScript Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode fixes + prettier Nov 16, 2019
assets better error logging in api, created votemodal, removed dumbsql usele… Nov 18, 2019
components better error logging in api, created votemodal, removed dumbsql usele… Nov 18, 2019
etc better error logging in api, created votemodal, removed dumbsql usele… Nov 18, 2019
layouts project and comment fix, rainbow code explanation Nov 10, 2019
pages better error logging in api, created votemodal, removed dumbsql usele… Nov 18, 2019
static api main refactoring completed Oct 26, 2019
store registration fix part 1 Nov 17, 2019
.editorconfig paypal button fix and /db/ /api/ fix Oct 1, 2019
.eslintignore
.eslintrc.js fixed vsc eslint prettier Aug 9, 2019
.gitignore disabling cache and pwa Nov 17, 2019
.prettierrc fixes + prettier Nov 16, 2019
README.md Update README.md Nov 17, 2019
api.js better error logging in api, created votemodal, removed dumbsql usele… Nov 18, 2019
contributors.md update contributors file Nov 6, 2019
nuxt.config.js cache removal, registration error alerts, projectlist fixes Nov 17, 2019
package-lock.json
package.json better error logging in api, created votemodal, removed dumbsql usele… Nov 18, 2019

README.md

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).

The 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 default 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/etc/learningGame.md

The result is online at https://cooperacy.org. 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
You can’t perform that action at this time.