/alpha_store_apis

APIs for a general marketplace where users can buy and sell content.

Primary LanguageRuby

alpha stores

APIs for building a digital marketplace where numerous users can buy and sell content, services and goods.

Built with 💖 by Divine Olokor

Features

alpha stores aims to be an app where the physical marketplace experience is digitalized and streamlined. Users will be able to buy and sell goods from the comfort of their homes.

Prerequisites

Before you begin, ensure you have installed the latest version of:

Installing

  • Clone this repo to your local machine git clone git <this-repo-url>

  • cd to alpha_store_apis

  • Ensure you have mySQL running

  • Configure your database settings in the database.yml file

  • Provide your database credentials and your jwt secret key via rails credentials:edit.The secret variables to be set are Rails.application.secrets.secret_key_base, Rails.application.credentials.database_password and Rails.application.credentials.sendgrid_api_key

  • run rails db:migrate to create tables into the database

  • run rails s to start the server at localhost:3000

TODOS

  • Implement 2FA Authorization

  • Implement JWT public and private key handling via files

  • Protect the app from unauthorized domains.

  • Deployment to DigitalOcean