Skip to content

guntsvzz/givers-and-takers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Givers & Takers Platform (in-progress)

Welcome to the Givers & Takers platform, a community-driven space dedicated to transparent giving and tangible impact. Our platform connects donors and recipients for practical assistance, ensuring that every contribution makes a real difference.

Givers & Takers Banner

Image inspiration from: UNICEF, Mirror Foundation, and GoFundMe.

Prerequisites

To run the platform locally, you will need Docker installed on your machine.

Database Setup

The platform uses PostgreSQL as the database. Follow the steps below to start the database server.

  1. Navigate to the db directory:

    cd db
  2. Use Docker Compose to start the database:

    docker compose up -d

    The database server will be accessible at http://localhost:5432.

Running the Backend - Rails App

  1. Navigate to the students directory where the Rails application is located:

    cd backend
  2. For the first-time setup, build the app image:

    docker compose build
  3. Run the app:

    docker compose up -d

    The app will run on http://localhost:3000.

Running the Frontend - React App

  1. Navigate to the frontend directory:

    cd frontend
  2. For the first-time setup, npm install:

    npm install
  3. Run the app:

    ng serve

Running the API - Express App

  1. Navigate to the api directory:

    cd api
  2. For the first-time setup, npm install:

    npm install
  3. Run the app:

    npm run dev

Accessing the App Container

To execute Rails commands (e.g., generating new models, running migrations), you’ll need to access the app container.

  1. Open a terminal in the container:

    docker exec -it gnt-web bash
  2. Exit the container when you're done:

    exit

Stopping the Containers

To stop all running containers, go to the directory where the Docker Compose files are located and run:

docker compose down --remove-orphans

The platform encourages transparent giving and supports users who want to "Start Giving" with ease.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •