Giter Club home page Giter Club logo

gwxregistry's Introduction

GWX Registry API

Gameworks Registry is one the main module of Gameworks Service Stack. It holds the most of the data in Gameworks Ecosystem, like Users, Players, Publishers, Games, etc.

Getting Started

This section will give you instructions on how to get started on running this project on your local machine. This project uses Ruby v2.5.7 and Rails 5.2.2. Below you can find more detailed instructions on how get up and running.

Prerequisites

  • ruby v 2.5.7
  • Image Magick (for processing uploads)

Running locally

Start by cloning this repository.

$ git clone [email protected]:gameworks-gwx/gwx-registry-api.git && cd gwx-registry-api

Install gem dependencies by running

$ bundle install

Setup the local environment db

$ rails db:setup

Try to run the server and see if everything is okay

$ rails server

Tests

Structure

Specs are found in the root directory in the folder named spec

   /spec
     - /factories ** This folder contains the fixtures for the databases
     - /models ** Unit model specs
     - /requests ** API specs
     - /services ** Unit service specs
     - /support ** Spec Helpers,Utils etc

Running the tests

For running the test you can simply type the command

$ bundle exec rspec

As a result you will see something like this

Finished in 25.91 seconds (files took 4.98 seconds to load)
206 examples, 0 failures, 1 pending

API Documentation

As for the API Documentation, we have put up a Postman collection for this. You may export the postman files postman_collection.json and postman_environment.json found in the root project directory.

Deployment

We use capistrano gem to ease out deployment in both staging and production. See here for more details.

Setup

We deploy this project in an AWS EC2 Instance on an Ubuntu 18.04 distro. As for the setup instructions, see our detailed dedicated wiki.

Continuous Integration

As part of the deployment, we have integrated CircleCI for our CI/CD Pipeline. See the config file for the CircleCI found in .circleci/config.yml

Built with

  • Ruby 2.5.7
  • Rails 5.2.2

gwxregistry's People

Contributors

mikkotan avatar vulcansmithy avatar maryjoylimjoco avatar observingly avatar sibicb avatar jvtalan1 avatar nbantatua avatar ersonlloyd avatar jayfajardo avatar jvfernandez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.