Ruby-on-Rails app project for ECE444 - Software Engineering. This app provides the oppurtunity of contract work for different gigs. For example,software development, copy-editing, graphic design, or the creation of marketing material that can often be done at home. The basic idea behind this service if to create a home gig service that connects those offering work with those seeking work done, and offer such subservices as billing and payments.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
The following software with the specified versions, as mentioned below, need to be installed:
Ruby: 2.6.4
Rails: 6.0.0
PSQL: 12.0
A step by step series of examples that tell you how to get a development env running. Please run all the commands from app directory:
- git clone the repository
git clone https://github.com/mohaimenhasan/ECE444-Home-Gig.git
- Create an account on stripe and add your stripe keys into ENV (for testing and deployment)
GMAIL_USERNAME: <account for sending out emails>
GMAIL_PASSWORD: <gmail pass>
STRIPE_PUBLISHABLE_KEY: <from stripe wesbite>
STRIPE_SECRET_KEY: <from stripe website>
- Add stripe api keys in to credentials by using the following commands
EDITOR=vim rails credentials:edit
stripe:
development:
publishable_key: '<from stripe website>'
secret_key: '<from stripe website>'
- Install all the gems
bundle install
- Set Up Database
rails db:create
- Migrate all the necessary schemas
rails db:migrate
- Populate the db with some categories:
rails db:seed
- Start the server:
rails s
To run the automated test run the following from the app directory:
rails test test/
Explain what these tests test and why
- Test for users
Users can not be created without a valid email
rails test test/models/user_test
To deploy it on heroku please sign in and request for access for the app: https://dashboard.heroku.com/apps/secure-ocean-69468
Live Demo available at: https://secure-ocean-69468.herokuapp.com/
- Mohaimen Khan
- Jennifer Hu
- Hongyi Yang
- Muhammad Waseem Qadeer
- Zihan Zhao
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Kijiji
- Fiverr