This is a Contribution Tracker app to track the various contribution in order to provide users with a record of all contributions and to monitor how funds are being directed. The application also provides reports for financial reporting purposes. Here is the web interface for Trancker application.
This is a backend application that creates the API endpoints consumed by the frontend web application.
- GET /transactions
- POST /transactions
- GET /transactions/:id
- PATCH /transactions/:id
- PUT /transactions/:id
- DELETE /transactions/:id
- GET /report
- Ruby on Rails
- Postgresql
-
Install Ruby on your machine.
-
Clone the repository.
-
Change directory into the root of the project directory.
-
Run
bundle install
on the terminal to install project dependecies. -
Follow the instructions on database setup to configure the database.
-
Start the application:
rails s
.
-
Install Postgres on your machine.
-
Create a
.env
file in the root of the project directory. -
Copy the variables in the
.env.sample
file into the.env
file and provide the required database credentials. -
Run
rake db:setup
command to setup your database. -
Run
rake db:seed
command to seed the database.