Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

Latest commit

 

History

History
40 lines (22 loc) · 693 Bytes

README.md

File metadata and controls

40 lines (22 loc) · 693 Bytes

Kampu

An app to book your favorite sports fields

Setup

The stack in this project is Rails + React.

We have api and client.


To setup the api:

First use bundle to install all the gems for the rails project

bundle install

Then you should setup the database with

rails db:setup

And finally, you should run it on a specific port. e.g. 4000

rails s -p 4000

To setup the client:

First use yarn to install all the package dependencies for the react project

yarn install

And finally, you should run it, and by default it starts on the port 3000

yarn start