Skip to content
cooperacy platform universal-app with Node, Express, Vue and Nuxt frameworks, MySql DB
Vue TSQL JavaScript CSS Other
Branch: master
Clone or download
Pull request Compare This branch is 14 commits behind amdp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
assets
components
etc
layouts
pages
static
store
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
README.md
api.js
contributors.md
nuxt.config.js
package-lock.json
package.json

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

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.