GithubHelp home page GithubHelp logo

tcome's Introduction

T-COME, 中文

next blog, present for you.

I'm not perfect, i'm sorry.

PREVIEW   API  

This is a blog, based on nodejs and mongodb.
If you need a frontend, goto tcome-frontend

FEATURES

  • Support login/register/manage
  • Any users can publish articles
  • Support comments
  • Canonical interface(RESTfulAPI),highly scalable
  • Search and more configuration
  • Elegant code
  • More features are under development...

INSTALL

Use tcome-cli to install blogs, contains only server code

$ npm i tcome-cli -g
$ tcome init [blog-name]

DEVELOP

tips: require node-gyp,see node-gyp

* install package
$ npm install

* install sails.js
$ sudo npm install sails -g

* install grunt (optional, if you need)
$ sudo npm install grunt -g

run:

* if node version < 7.6.0 (npm start = node --harmony-async-await app.js)
$ npm start
* if node version >= 7.6.0
$ sails lift

make api doc:

$ npm install apidoc -g
$ npm run api

create file:

$ sails generate api <foo>

$ sails generate model <foo> [attribute1:type1, attribute2:type2 ... ]

$ sails generate controller <foo> [action1, action2, ...]

DEMO

PREVIEW demo1 demo2

TEAM

Witt Bulter
Witt Bulter

tcome's People

Contributors

wittbulter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tcome's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.