Dev. Store - Backend

A simple project with Node + Express for managing financial incomes and outcomes.

Tooling:

Prerequisites

Installation

Repository

  • Clone the backend repository
git clone https://github.com/glappsmobile/my-wallet-back
  • Install NPM packages
npm install

Database

Database Image

  • Create the dev and test database using PostgreSQL
CREATE DATABASE mywallet_test;
CREATE DATABASE mywallet_dev;
pg_dump mywallet_test < path/to/DATABASE.sql
pg_dump mywallet_dev < path/to/DATABASE.sql
  • Put the database information in the .env.dev and .env.test files in the backend repository.

How to run:

To start the development server, run:

npm run start:dev

To start the frontend, run:

npm start