Skip to content

LuckyKoala/koalajs-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Blog written by JavaScript.

Download KoalaBlog.js and its dependency

git clone git@github.com:LuckyKoala/koalajs-backend.git
npm install

Install RethinkDB server

Check documention on Official Site

Usage

Run RethinkDB server

Run command rethinkdb in the directory where you want to store your data.

Run KoalaBlog

chmod a+x index.js
./index.js -p 3000 #Run at port 3000.
./index.js -p 3000 --reset #Run at port 3000 and reset database.
./index.js -p 3000 --token '233' #Run at port 3000 and use token '233'.
./index.js --debug #Run with debug mode enabled.

Features

  • Control pane for creating, editing and deleting posts.
  • View all posts or detail of specified post.
  • RESTful API.
  • Simple CLI for setting port number and enabling debug mode.
  • Token is required for operation that will change database.

About

backend of Koala.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published