This is the backend repository for the Expense Tracker app, a full-stack web application for tracking expenses. The backend is built using Ruby on Rails and provides RESTful API endpoints for user management, expense creation, and more.
Follow the steps below to set up and run the backend of the Expense Tracker app:
- Ruby (version 2.7.4p191)
- Rails (version 7.0.7)
- PostgreSQL (version 14.9)
-
Clone this repository to your local machine:
git clone https://github.com/Ken-Kabutu/expense-tracker-backend.git
-
Change into the project directory:
cd expense-tracker-backend
-
Install gem dependencies:
bundle install
-
Create and migrate the database:
rails db:create rails db:migrate
-
Start the Rails server:
rails server
- User Registration: 'POST /api/users'
- User Login: 'POST /api/login'
- User Logout: 'DELETE /api/logout'
- Create Expense: 'POST /api/expenses'
- List Expenses: 'GET /api/expenses'
- Kenneth Wachira
- Maimunar omar
- Alfred kimata
- Faith Kamau
- Isaiah Sikobe
This project is licensed under the MIT License.