Skip to content

chiqors/electron-adonis5-blog

Repository files navigation

Adonis5 with Electron fullstack blog application

This is the fullstack blog application for AdonisJs with Electron, it comes pre-configured with.

  1. Bodyparser
  2. Session
  3. Authentication
  4. Web security middleware
  5. CORS
  6. Edge template engine
  7. Lucid ORM
  8. Migrations and seeds
  9. Electron

Setup

  1. Manually clone the repo and then run npm install.
  2. Copy .env.example and rename into .env, fill in the environment
  3. Use localhost or 127.0.0.1 instead of 0.0.0.0

Migrations

Run the following command to run startup migrations.

node ace migration:run

Development

Run the following commant to start development/

npm start