Skip to content

ryan-broguiere/wordle_backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservice Implementation with FastAPI

Contributors

  • Chukwudi Ikem
  • Madison Jordan
  • Ryan Broguiere

Built With

Getting Started

To get a local copy up and running follow these simple example steps.


Dependency Installation

  • Make sure to have python3 and pip installed on your computer.

      sudo apt update
      sudo apt install --yes python3-pip ruby-foreman sqlite3 httpie
  • Clone the repo

    git clone <repo.git>
  • Install FastAPI and other tools from requirements

      python3 -m pip install -r requirements.txt

Project Setup

Database Population

  1. Seed the database! (you may need to change permissions on your local machine)
    ./bin/db_seed.sh

Leaderboard Cronjob

  1. make sure cron is running. if not use sudo service cron start

  2. build leaderboard standalone app and load cronjob

    ./bin/init.sh
    

    proceed to service start instructions


Service Start

  1. In the root directory of the app folder, create a .env and set values for CHECKING_PORT and VALIDATION_PORT

    echo -e "CHECKING_PORT=5000\nTRACKING_PORT=5200\nVALIDATION_PORT=5500" > .env
    
  2. Run the services

    foreman start

Test Running Services

  1. Travel to

    depends on the values inputted for which service you wish to test

  2. Once there you can test out the routes!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.7%
  • Shell 8.1%
  • Procfile 1.2%