Giter VIP home page Giter VIP logo

cpsc449-wordle-backend's Introduction

CPSC 449 Group 22 Project 4

Group Member: Vu Diep, Shridhar Bhardwaj, Shreya Bhattacharya, Aaditya Chaudhari

Installations

1. Clone the repository

git clone https://github.com/vudiep411/cpsc449-wordle-backend.git

2. cd into the root directory

cd cpsc449-wordle-backend/

3. Install libraries needed

./bin/requirements.sh

4. In var directory create primary/data and primary/mount, secondary1/data and secondary1/mount, secondary2/data and secondary2/mount

5. Start the server with foreman

foreman start

⚠ leaderboard service will try to connect but won't be able to until database is initilized in the next step

6. Setting up the database

./bin/init.sh

7. Start redis server if haven't

./redis.sh

  1. Configure your Nginx similar to nginx.confg
  2. Configure your crontab similar to cron.txt

Steps:

  1. Start cron using command: crontab -e
  2. Configure the content similar to cron.txt
  3. Save the changes


⚠ The development server for User service will be started at http://127.0.0.1:5000/
⚠ The 3 development servers for Game service will be started at
http://127.0.0.1:5100/
http://127.0.0.1:5200/
http://127.0.0.1:5300/
⚠ Leaderboard service will be started at http://127.0.0.1:5700/

To access leaderboard data through nginx, visit http://tuffix-vm/leaders

Documentation

After starting the server with foreman start, go to http://127.0.0.1:5000/docs, http://127.0.0.1:5100/docs, and http://127.0.0.1:5700/docs for all REST API routes example

cpsc449-wordle-backend's People

Contributors

vudiep411 avatar bhardwajshridhar avatar rakesh-singh-6789 avatar jolin-123 avatar bhattacharyashreya avatar dev-shreya avatar chaudhariaaditya avatar srvidya03 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.