Skip to content

memoria is a web app for you to memorize words better

License

Notifications You must be signed in to change notification settings

celestialphineas/memoria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memoria

Memorizing words

Vue + MongoDB + Express

memoria is a web app for you to memorize words better.

Dependencies

  • Vue.js

  • Vue Material

  • Vue Waterfall

  • Vee Validate

  • Axios

  • D3

  • JSON Web Token

  • Express

  • MongdDB node connector

  • Node mailer

Build Setup

# install dependencies
npm install

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run the server including the api
npm run server

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

Dev

To deploy and configure the project, you need to modify the file config/conf.server.js

module.exports = {
    // This is the very important salt used for encryption
    // Modification of the string may result the database to invalid status
    auth            : true,
    serverPort      : 8081,
    mongoURL        : 'mongodb://localhost:27017/',
    mongoHost       : 'localhost',
    mongoPort       : 27017,
    getStaticPath   : path => ('/' + path).replace('//', '/'),
    getApiPath      : path => ('/api/' + path).replace('//', '/'),
    getApiHost      : path => 'http://' + ('localhost:8081/' + path).replace('//', '/'),
    getVueHost      : path => 'http://' + ('localhost:8081/' + path).replace('//', '/'),
    mailConfig      : {
        service: 'hotmail',
        auth: {
            user: 'memoria-no-reply@outlook.com',
            pass: 'memoriaN0Reply'
        }
    }
}

You may also run the webpack dev server, if you have correctly configured conf.server.js and run the server.

npm run dev

About

memoria is a web app for you to memorize words better

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published