Git Product home page Git Product logo

moneymoney_server's Introduction

moneymoney_server

#System requirements

#Development

Install package nodemon.

$ npm install -g nodemon
  • Config PORT, DB_URI in .env file.
  • Config email in ./app/routes/authentication.js file.

Run this command.

$ nodemon server.js

#API

Note: For APIs that require account authentication, you must add Headers Authorization: "JWT <token_string>"

API Authorization Method Params
/authentication/sign_in NO POST email, password
/authentication/register NO POST email, password, name, avatar
/authentication/forgot NO POST email
/authentication/reset/<session> NO POST newPassword, confirmPassword
/user/info YES GET id
/user/info YES PATCH id, name, avatar, old_password, new_password
/card/create YES POST id, type, balance, name, exp, number, cvv
/cards YES GET id
/card/edit YES PATCH id, id_user, type, balance, name, exp, number, cvv
/card/delete YES DELETE id_user, id
/record/create YES POST id, datetime, category, card, value
/records YES GET id
/records/<mode>/<category> YES GET id
/record/delete YES DELETE id
/record/edit YES PATCH id, datetime, category, card, value
/note/create YES POST id, title, content
/notes YES GET id
/note/delete YES DELETE id
/note/edit YES PATCH id, title, content

#Screenshot

ScreenShot2017-07-28at1.18.46AM.png
ScreenShot2017-07-28at5.16.58PM.png
ScreenShot2017-07-28at5.17.04PM.png

License

MIT

moneymoney_server's People

Contributors

htdangkhoa avatar thanhdat2721 avatar

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.