GithubHelp home page GithubHelp logo

spectr-e / movers-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 264 KB

This is the Backend repository of the capstone project dubbed the Movers App. It contains the code written in Ruby with the Rails framework. Have Fun!!

Home Page: https://rails-lszl.onrender.com

Ruby 76.46% JavaScript 1.72% CSS 0.98% HTML 16.71% Batchfile 3.87% Shell 0.26%
postgresql rails react ruby ruby-on-rails

movers-api's Introduction

MOVERS APP API

This is a Ruby on Rails application for movers that uses Geocoder for location-based services, SendGrid for email notifications, and JWT for authentication and authorization.

Deployment

This API has been hosted and deployed to render and can be accessed via the link below.

https://rails-lszl.onrender.com

Prerequisites

-Ruby 2.7.2 or higher

-Rails 6.1.4 or higher

-PostgreSQL 9.5 or higher

Features

  • Users can sign up and log

  • Users can create, update, and delete their own moving jobs

  • Users can view a list of all moving jobs, as well as filter and sort the list by various criteria

  • Users can view the details of a specific moving job, including the address, estimated cost, and start/end time

  • Only authenticated users can create, update, and delete moving jobs

  • Only the user who created a moving job can edit or delete it

Database Design (ERD)

DatabaseDesign

Installation

Clone the project

  git clone https://github.com/spectr-e/movers-api

Go to the project directory

  cd movers-api

Install dependencies

  bundle install
  rails db:migrate
  rails db:seed

Start the server

  rails s

Acknowledgements

Configuration

Geocoder:

This app uses Geocoder to get the latitude and longitude coordinates for a given address. You will need to set up an account with a Geocoding provider such as Google Maps or Mapbox, and then add the API key to the GEOCODER_API_KEY environment variable.

Gmail:

This app uses SendGrid to send email notifications to users. You will need to create a Gmail account and add the access key to the GMAIL_APP_PASSWORD environment variable.

JWT:

This app uses JWT for authentication and authorization. You will need to generate a secret key and add it to the JWT_SECRET_KEY environment variable.

Authors

This API is was authored through the collective effort of:

Contributing

Contributions are always welcome!

movers-api's People

Contributors

spectr-e avatar ngachadavid avatar sophie-ndalo avatar

Stargazers

 avatar

Watchers

 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.