/bpe

Primary LanguageRuby

Codeship Status for bonyiii/bpe

Setting up

  • bundle install to get all required gems
  • bundle exec rake db:create to create the database
  • bundle exec rake db:setup to create the database schema and seed data
  • npm install or yarn to install node modules
  • Set up your .env file.

Log in

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.

Running

npm start or npm run build to create js assets bundle exec rails s

This will run the Rails server on http://localhost:3000

Explore API

Once the server is running, you can access http://localhost:3000/swagger Tha api can be tested with swagger but only available after login.

Heroku

The app deployed to: http://bpeboni.herokuapp.com/ The api explorer can be found here: http://bpeboni.herokuapp.com/swagger