GithubHelp home page GithubHelp logo

cyrus-kiprop / rails-react-health-app Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 6.89 MB

Health app curated using Rails apis and React-redux front-end. With the api endpoints, users can keep track of their fitness leves.

License: MIT License

Ruby 99.60% CSS 0.05% HTML 0.35%
rails-api rails6 rspec shoulda-matchers requests react redux jwt-authentication token postgresql

rails-react-health-app's Introduction

Contributors Forks Stargazers Issues


Logo

Health App API

A simple health api app.
Report Bug ยท Request Feature

Table of Contents

About The Project

A progressive Health Tracking mobile web app. User can utilize the apps' exposed api utility to view and keep track of their fitness levels.

Api Documentation

Click here for api documentation.

Built With

The project was built using the following languages stacks:

Back-End(server)
Testing Frameworks
  • shoulda_matchers
  • RSpec
  • Factories gem

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

gem install rails -v 5.2.4

Installation

  1. Clone the repo
git clone https://github.com/Cyrus-Kiprop/rails-react-health-app.git
  1. CD into the project root directory
cd ./rails-react-health-app
  1. Install Dependencies and gems
bundle install
  1. Set the databases
rails db:create
  1. Create database schemas
rails db:migrate
  1. Seed the DB
 rails db:seed
  1. Run rspec tests
bundle exec rspec

Credentials

Default credentials

email Password Role
[email protected] password Admin

Usage

Fire up the server:

rails s

Create a User

Grant admin rights to the user

Sign In

Create Measures (Admin Only)

Delete Measures (Admin Only)

Create Measurements

List all Measures with their measurements

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/NewAwesomeFeature)
  3. Commit your Changes (git commit -m 'Add some NewAmazingFeature')
  4. Push to the Branch (git push origin feature/NewAmazingFeature)
  5. Open a Pull Request

Contact

Cyrus Kiprop - [email protected]

Project Link: https://github.com/Cyrus-Kiprop/afriTrend

Authors

๐Ÿ‘ค Cyrus Kiprop

Acknowledgements

License

Distributed under the MIT License. See LICENSE for more information.

rails-react-health-app's People

Contributors

cyrus-kiprop avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.