Skip to content

Latest commit

 

History

History
87 lines (57 loc) · 1.04 KB

README.md

File metadata and controls

87 lines (57 loc) · 1.04 KB

Expense Tracker Application

This project is built in React JS for frontend, Node JS for backend, Sequelize ORM using Postgres.

Setup

React

  1. Clone the project.
git clone https://github.com/verai17/piggyoink.git
  1. Install the dependencies.
cd piggyoink
npm install
  1. Create .env file.
cp .env.sample .env

Postgres Database (Docker)

Install Docker here.

Install Docker-Compose here.

Once successfully installed, run postgres docker container.

docker-compose up -d

Node JS

  1. Install the dependencies.
cd backend
npm install
  1. Create .env file.
cp .env.sample .env
  1. Run migration for the database schema.
npx sequelize-cli db:migrate
  1. Run seed for static data used in the project.
npx sequelize-cli db:seed:all

Run

  1. Run project.
cd piggyoink
npm start
cd backend
npm start
  1. Visit Application.
http://localhost:3000/