Goal is to replace all server api in https://github.com/Neil-Ni/v2
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
client
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Staffjoy on Rails

Goal

Over the weekend, I tried to run the original code for Staffjoy locally, but it was taking too long to run vagrant and too heavy to iterate with modifications. This repo is an attempt to simplify the original code into rails api.

###To run with json server:

cd client && npm instal

cd json-server && sh start.sh

npm start

###To run with rails:


# make sure postgres is runnning and modify your config in config/database.yml
bundle install && rails db:create && rails db:reset
cd client && npm install && npm start