Skip to content
A Server Restfull in express to financial control.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
test
.babelrc
.editorconfig
.env.example
.eslintignore
.eslintrc.js
.gitignore
.sequelizerc
.travis.yml
LICENSE
README.md
ecosystem.config.js
jsconfig.json
package.json
yarn.lock

README.md

WithMoney API

It is a project of money control

Maintainability Test Coverage Build Status codecov

Installation

  1. cp config/database.json.example config/database.json
  2. cp .env.example .env
  3. yarn
  4. yarn run sequelize db:create(for mysql) to create a database
  5. yarn run sequelize db:migrate

Development

yarn run sequelize db:seed:all in development

run yarn run dev to start the server.

Tests

yarn run test:createdb - To create a database of test. yarn run pretest - Apply the migration. yarn run jest

Production

yarn run deploy setup # first time

yarn run deploy

Using Database docker

PostgreSQL

docker run --name withmoney-postgres -e POSTGRES_PASSWORD=123 -p 5432:5432 -d postgres -p

MySQL

docker run --name withmoney-mysql -e MYSQL_ROOT_PASSWORD=123 -p 3306:3306 -d mysql:5

You can’t perform that action at this time.