A Ruby on Rails 7 application that simulates purchasing and selling stocks
To run the project locally
- Clone the repository
- Create an environment file ".env" in the root folder
- Set values to the following variables. example syntax: "USERNAME = 'User1'"
- USER_NAME (Email address of the account use to send confirmation emails to newly created accounts)
- PASSWORD (Password of the account use to send confirmation emails to newly created accounts)
- SECRET (Secret key obtain from IEX API)
- PUBLISHABLE (Publishable key obtain from IEX API)
- ENDPOINT (IEX API Link - https://cloud.iexapis.com/v1)
- Navigate to folder
- Create Postgresql database using command "rails db:create"
- Run migrations using command "rails db:migrate"
- [OPTIONAL] Populate database using command "rails db:seed"
- Run Rails Server using "rails s"
- Register and Login account using Devise gem
- Send email confirmation on upon registration
- Approve and Reject users account
- Edit users information
- Display all transactions made by users
- View list of trending stocks
- Search stock using IEX API
- Buy and Sell stocks in Marketplace
- Update Buyer and Seller balance after each transaction
- Display transactions made by the user
https://rails-stock-trading.fly.dev/
Accounts | Email & Password |
---|---|
Admin | admin@test.com / password |
User1 | user1@test.com / password |
User2 | user2@test.com / password |
Category | Languages / Frameworks / Tools |
---|---|
Front-end | |
Back-end |