Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 1.43 KB

README.md

File metadata and controls

44 lines (40 loc) · 1.43 KB

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)