Skip to content

Using A Database With Heroku And More (Memcache)

Anjan Nair edited this page Oct 8, 2020 · 2 revisions

Memcache

What is Memcache?

It is an online database as a service which allows you to store/cache whatever you want upto 30mb on its free version.

Starting It Up

Pr-requisites: Heroku account is definitely needed for this.

  1. Install the add-on on Heroku from here
  2. Head over to the official documentation and add the code for Node.js in your code.
  3. You're basically done!

That's all! You have successfully added a database for Heroku which can keep track of prefix per server. If you want to start a coin system there is another database called MongoDB which will be documented soon!