Tracking App Api

This project is the backend application for the React/Redux Tracking App, an app that lets users track the hours they spend on various activities.

Frontend Application

Tracking App

Live Version

Tracking App Api on Heroku

Endpoints:

  • User login: /login POST
  • Auto-login for User: /auto_login GET
  • New user: /users POST
  • New session: /sessions POST
  • All user sessions: /sessions GET
  • New task: /tasks POST

Built With

This project was built using these technologies.

  • Ruby on Rails (Api)
  • JWT
  • PostgreSQL
  • Rspec (tests)
  • Heroku (Deployment)

Installation

Make sure Node.js is running on your local machine

To use this app locally, this is what you need to:

  • Download or clone this repo:

    • Clone with HTTPS in the terminal.
      git clone https://github.com/mke2111/tracking-app-api.git
    
    
  • Then cd tracking-app-api into the downloaded folder

Setup

  • Run bundle install to install all gems.

  • Then, run rails db:create db:migrate to setup the database

  • Start the server with rails s

  • Run the tests with rspec

Author

👤 Roy Mukuye

🤝 Contributing

Contributions, issues, and feature requests are welcome!

📝 License

This project is MIT licensed.