Giter Site home page Giter Site logo

amiapi's Introduction

Maintainability codecov

Introduction

Boost user conversions with AmiApi. Incentivise users with referral bonuses and rewards on signup.

These docs describe how to use the AmiApi API. We hope you enjoy these docs, and please don't hesitate to file an issue if you see anything missing.

Demo api running at: AmiApi

Outline

API Documentation

AmiApi is a JSON Rest-client with all routes namespaced under /api/v1

Open Endpoints

Open endpoints require no Authentication

Endpoints that require Authentication

Closed endpoints require a valid JWT token to be included in the header of the request with the format Authorization: Bearer <token>. A JWT token can be acquired from the Login view above.

Getting Started

Clone the repository

git clone https://github.com/Dhul-Husni/amiapi.git
cd amiapi

Check your Ruby version

ruby -v

The output should be ruby 2.7.2

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 2.7.2

Install dependencies

Using Bundler:

bundle install

Initialize the database

cp config/database.yml.example config/database.yml

Remember to configure config/database.yml by replacing the username and password to your local database user's credentials

rails db:create db:migrate db:seed

Serve

rails s

amiapi's People

Contributors

dhul-husni avatar

Stargazers

 avatar

Watchers

 avatar  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.