Welcome to DAMLA Budget a REACT + REDUX App, with a Rails API.
-
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.
This project is intendent to be safe, welcoming space of collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct
This project has been licensed under the MIT open source license.