Node.js Blog Hosted On Google Cloud Platform
Simple Adonis.js blog hosted on Google Cloud Platform
Setup
Install the adonis cli tool and run npm install or yarn install.
Once the installation is complete you will need to complete the following steps:
- Create a MySQL database: This application uses MySQL for data persistence. You will need to create a MySQL database and take note of the database name and other connection parameters.
- Generate your application key: Run
node ace generate:key. This key is used internally by the application for encryption purposes. - Create a .env file based off
.env.examplefile and populate its contents accordingly. - Create your database tables by running migrations: In the terminal run
node ace migration:run --force
You can now run
npm run devoryarn devto start the local development