Skip to content

boorooksus/response-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

반응 속도 게임

Demo

메인 페이지

image

난이도별 게임 플레이

  • Easy Mode easy_mode

  • Medium Mode medium_mode

  • Hard Mode hard_mode

랭킹 시스템

ranking


Quick Start

Prerequisites

  • Make sure your NodeJS and npm versions are up to date

Download

or

  • Clone the repository
$ git clone https://github.com/boorooksus/response-game.git

Installation

  • Install dependencies
$ npm install
$ cd client
$ cd install
$ cd ../
  • Set up MongoDB
    • get URI for MongoDB account.
    • create dev.js file in server/config/.
    • write code and add you MongoDB URI in it.
    module.exports = {
      mongoURI: "your mongoDB URI",
    };

Basic Usage

  • start server and client
$ npm run dev

Developing

Built With

tools

  • React
  • React Router
  • TypeScript
  • Tailwind CSS
  • Node.js
  • Express.js
  • MongoDB

Prerequisites

  • Install editor Visual Studio Code or WebStorm
  • Make sure your NodeJS and npm versions are up to date
  • get MongoDB URI

Setting up Dev

  • Install project
$ git clone https://github.com/boorooksus/response-game.git
$ cd server
$ npm install
$ cd ../
$ cd client
$ cd install
  • Set up MongoDB
    • get URI for MongoDB account.
    • create dev.js file in server/config/.
    • write code and add you MongoDB URI in it.
    module.exports = {
      mongoURI: "your mongoDB URI",
    };

Directory Structure

response-game/
├── client/                           # front-end
│   ├── public/                       # static files
│   │   └── index.html                # html template
│   │
│   └── src/                          # project root
│       ├── components/               # application components
│       │   ├── views/                # application views
│       │   │   ├── GamePage/         # images, icons, etc.
│       │   │   │   ├── sections/     # components for the page
│       │   │   │   ├── GamePage.tsx  # view for game page
│       │   │   │   └── types.tsx     # types for typescript
│       │   │   └── ...
│       │   └── App.tsx
│       ├── index.css                 # common style css
│       ├── index.tsx
│       ├── ...
│       └── setupProxy.js             # proxy settings
│                                     #   for local server
│
├── server/                           # back-end
│   ├── config/                       # mongoDB key
│   ├── middleware/                   # custom middlewares
│   ├── models/                       # Database models
│   ├── routes/                       # routes for api
│   └── index.js
├── pakage.json                       # dependencies for server
└── README.md

About

반응속도 체크 게임 웹 애플리케이션

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published