Skip to content

OpenManifest/openmanifest-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku GraphQL Rails

OpenManifest API

CircleCI Linting Release Production

This is the backend server for OpenManifest, written with Rails using GraphQL and authenticated with devise_graphql. If you want to contribute to the OpenManifest backend, fork this repository and follow the setup instructions below

Requirements

  • postgresql
  • ruby 2.7.3

Getting started

First, make sure you've created your postgresql databases:

$ createuser openmanifest-dev
$ createuser openmanifest-test
$ createdb openmanifest_dev -O openmanifest-dev -W
Password: [enter openmanifest-dev]
$ createdb openmanifest_test -O openmanifest-test -W
Password: [enter openmanifest-test]

Install dependencies with bundler

$ bundle install

When you've got your databases set up, run the migrations:

$ rails db:migrate
$ RAILS_ENV=test rails db:migrate

Now you should be able to run the tests>

$ bundle exec rspec spec

Start the server locally

$ bundle exec rails s -b 0.0.0.0 -p 5000          

About

Ruby on Rails backend for OpenManifest.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published