Mipha
English | įŽäŊä¸æ
Table of contents
Introduction
Mipha is an open-source elixir forum build with phoenix 1.4 (inspire by homeland).
Getting started
# clone
git clone [email protected]:zven21/mipha.git
# init setup
cd mipha && ./script/setup
# db create && db migrate db seeds
mix ecto.reset
# run
mix phx.serve
Database relationship
Project structure
.
âââ assets # JS CSS and static file.
âââ lib #
â âââ mipha #
â â âââ accounts # user team company location model.
â â âââ collections # user collection.
â â âââ follows # follows
â â âââ markdown # markdown
â â âââ notifications # notification
â â âââ replies # the reply of topic.
â â âââ stars # like topic or reply
â â âââ topics # topic and node.
â â âââ utils #
â â âââ mailer.ex # send email.
â â âââ markdown.ex #
â â âââ qiniu.ex # image upload
â â âââ regexp.ex # regex
â â âââ token.ex # token verification, reset password etc.
â âââ mipha_web
â â âââ channels # socket
â â âââ controllers # Controllers
â â â âââ admin # admin dashboard
â â âââ plugs # Plugs
â â âââ templates # Templates
â â âââ views # Views
â â âââ email.ex #
â â âââ session.ex #
â âââ mipha.ex
â âââ mipha_web.ex
âââ test # test
Contributing
Bug report or pull request are welcome.
Make a pull request
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Please write unit test with your code if necessary.
License
The proj is available as open source under the terms of the MIT License.