bundle install
to get all required gemsbundle exec rake db:create
to create the databasebundle exec rake db:setup
to create the database schema and seed datanpm install
oryarn
to install node modules- Set up your .env file.
Two user seeded by default in the database:
both user's password: password.
User admin@test.com has admin role, so access everything, the other one has limited rights.
npm start
or npm run build
to create js assets
bundle exec rails s
This will run the Rails server on http://localhost:3000
Once the server is running, you can access http://localhost:3000/swagger Tha api can be tested with swagger but only available after login.
The app deployed to: http://bpeboni.herokuapp.com/ The api explorer can be found here: http://bpeboni.herokuapp.com/swagger