Skip to content

Modern Real Estate auctioning site using JS/Typescript in React/Rails

Notifications You must be signed in to change notification settings

Libaration/Estate-Auction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Screenshots

Login

Login

Accepts payments using Stripe

Payments

Viewing Home/Auction Page

Viewing

Bidding

Bidding

Adding a New Auction

Add

Auctions List

Listing

Estate-Auction

Estate Auction is a basic CRUD example of using a Ruby/Rails as a backend API to serve a React/Typescript frontend. The login uses a basic JWT authentication stored in the browsers localstorage to authenticate routes on the frontend. Bidding/Countdown works as intended although needs an after action for after countdowns have ended.

Prerequisites

The setups steps expect following tools installed on the system.

  • Github
  • Ruby 2.6.1
  • Rails Rails 6.0.3.4
  • React
  • npm
  • node

Backend setup

1. Check out the repository
git clone [email protected]:Libaration/Estate-Auction.git
2. Navigate to the estateauction_api Directory and Create and setup the database

Run the following commands to create and setup the database.

bundle exec rake db:create
bundle exec rake db:setup
3. Start the Rails server

You can start the rails server using the command given below. (All API endpoints calls from the frontend are on port 3030)

bundle exec rails s --port 3030

And now you can visit the API via an endpoint with the base URL being http://localhost:3030 Endpoints : /users /homes

Frontend setup

Installation:

(You will need node and npm installed globally on your machine.)

npm install
To Start Server:
npm start
To Visit App:

localhost:3000

About

Modern Real Estate auctioning site using JS/Typescript in React/Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published