This project is built in React JS for frontend, Node JS for backend, Sequelize ORM using Postgres.
- Clone the project.
git clone https://github.com/verai17/piggyoink.git
- Install the dependencies.
cd piggyoink
npm install
- Create
.env
file.
cp .env.sample .env
Install Docker here.
Install Docker-Compose here.
Once successfully installed, run postgres
docker container.
docker-compose up -d
- Install the dependencies.
cd backend
npm install
- Create
.env
file.
cp .env.sample .env
- Run migration for the database schema.
npx sequelize-cli db:migrate
- Run seed for static data used in the project.
npx sequelize-cli db:seed:all
- Run project.
cd piggyoink
npm start
cd backend
npm start
- Visit Application.
http://localhost:3000/