Skip to content

A personal budget app designed with React utilizing Redux and Rails API.

License

Notifications You must be signed in to change notification settings

haticekaratay/damla-backend

Repository files navigation

DAMLA Budget

Welcome to DAMLA Budget a REACT + REDUX App, with a Rails API.

Installation

  • Clone this repo

  • Install all the gems via

     $bundle install
    
  • First, create the database via

    $rails db:create
    
  • Migrate database via

    $rails db:migrate
    
  • Use seed data to view all features of the app.

    $rails db:seed
    
  • Start your server

    $rails server
    
  • to view endpoints you need to to create a JWT key. Create .env file in your root directory. After that set your JWT key to any key/secret you like.

  JWT_KEY=your_key_goes_here
  • use postman with an authorized token to view endpoints:
  http://localhost:3001/incomes
  http://localhost:3001/expenses

See my post on how to use postman with an authorized token, if needed.

Contributing

This project is intendent to be safe, welcoming space of collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct

License

This project has been licensed under the MIT open source license.

Author(s)

Releases

No releases published

Packages

No packages published