Skip to content

Ajou Univ. 24-01 MSE / Team project: Auction Cook! - Server(Back-end)

Notifications You must be signed in to change notification settings

SyingSHY/AuctionCook-BE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧑‍🍳 Auction Cook!

TitleImage

Repository for Server(Back-end)

📂 Go to Repository for Client : Client
🔑 API Specification : Postman



🔍 Overview

The game is an auction simulation. You can play with up to 4 players, there are 12 recipes, and you have to bid for ingredients and complete the target recipe(by the recipe there will be differential points based on recipes), and the winner is the one with the highest score at the end.

A city of gourmets, famous for its delicious food. You are the chefs of four famous restaurants. Each of you is conscious of the others, and each of you thinks that you have better flavor than the other three. Then the mayor of a city of gourmet decides to organize a cooking competition to find the best restaurant in the city. The players will have to compete against each other to make it to the final round and prove who can cook the best and bring out the flavors of the ingredients.

This is repository for 'Auction Cook!' of back-end part. This repository is built with Java, Spring Boot, and Redis. We've tried to follow and keep RESTful API concept while communicating between client and server.



🛠️ Tech Stack

Java Redis AWS Postman

Specific Description of Each Tech Stack

- 이름 사용 용도
Java Java Main programming language of Spring Boot
Spring Boot Spring Boot Main framework implementing main logics of server
Redis Redis Managing user&room data with NoSQL schema
AWS AWS EC2 Serving server instance
AWS AWS ElasticCache Serving Redis DB instance
Postman Postman Testing APIs and sharing its documentation



📜 Guide

Spring Boot

You have to add some settings on application.properties or application.yml.

// .properties setting
spring.application.name: AuctionCookBE
server.port: 8080

// .yml setting
spring:
  application:
    name: AuctionCookBE

server:
  port: 8080

Local (Windows)

You can build and run server with gradle after cloning git repo/main.
After clone on your local machine, you can run server with builded .jar file.

AWS

You can build and run server with gradle after cloning git repo/main.
After clone on AWS EC2, you can run server with builded .jar file.

nohup java -jar <filename> &


Redis

To run server, you need to run Redis DB to let server manages user and room data.
Depending on the server operating environment, the method for operating Redis DB may vary.
You have to add some settings on application.properties or application.yml.

// .properties
spring.data.redis.host: localhost
spring.data.redis.port: 6379

// .yml setting
spring:
  data:
    redis:
      host: localhost
      port: 6379

Local (Windows)

You can use WSL to run Redis on your local computer.
Please refer to the following link for installation: Microsoft Reference

AWS

You can use ElasticCache for Redis to run Redis on AWS.
This service is included in FreeTier of AWS, but be careful for being charged.
Please refer to the following link for installation and AWS settings: Velog



👥 Team Member List

Back-end Repository

Name Major Part E-Mail Etc.
Seongho Yang(양성호) Software Server [email protected]

Other Team Members

Name Major Part E-Mail Etc.
Giho Shim(심기호) Digital Media Client
Gihyun Lee(이기현) Digital Media Client
Hwanjae Lim(임환재) Digital Media Game Design

About

Ajou Univ. 24-01 MSE / Team project: Auction Cook! - Server(Back-end)

Resources

Stars

Watchers

Forks

Languages