GithubHelp home page GithubHelp logo

ceng453_termproject_group8_backend's Introduction

Ceng453_TermProject_Group8_backend

Ceng453 Monopoly game backend

We use docker to generate our server and database. There are two docker containers, one is for the mariadb database and the other is for the backend server.

We use docker because it can easily be scaled up and run anywhere.

Database Diagram: Database Diagram

How to Run:

  • change directory into monopolyserver directory
cd monopolyserver
  • Give runnable privileges to setup docker script
chmod +x setup_mariadb_docker.sh
  • Run the setup script
./setup_mariadb_docker.sh
  • Register one user
curl --location --request POST 'http://localhost:8080/api/register' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "swagger",
    "password": "swagger",
    "email" : "[email protected]"
}'

Swagger Api documentation

Api can be found at http://localhost:8080/swagger-ui/index.html

Our backend requires http basic authentification even for swagger. For development purposes a default username and password is set username: swagger password: swagger

ceng453_termproject_group8_backend's People

Contributors

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