Giter Site home page Giter Site logo

expense-tracker-backend's Introduction

Expense Tracker Backend

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.

Getting Started

Follow the steps below to set up and run the backend of the Expense Tracker app:

Prerequisites

  • Ruby (version 2.7.4p191)
  • Rails (version 7.0.7)
  • PostgreSQL (version 14.9)

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/Ken-Kabutu/expense-tracker-backend.git
    
  2. Change into the project directory:

    cd expense-tracker-backend
    
  3. Install gem dependencies:

    bundle install
    
  4. Create and migrate the database:

    rails db:create
    rails db:migrate
    
  5. Start the Rails server:

    rails server
    
    

API Endpoints

  • 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'

Author

  • Kenneth Wachira
  • Maimunar omar
  • Alfred kimata
  • Faith Kamau
  • Isaiah Sikobe

License

This project is licensed under the MIT License.

Frontend Repo

expense-tracker-backend's People

Contributors

ken-kabutu avatar maimuna-omar avatar ajkimata avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.