NikitaKakurin / async-race

async-race

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nikitakakurin-JSFE2022Q1

async-race

link to task https://github.com/rolling-scopes-school/tasks/blob/master/tasks/async-race.md#cross-check

Your customer has an idea to spend his money. He has hired some engineers who installed some radio-controlled equipment ๐Ÿ“ป to real cars ๐Ÿš—. To the all his collection of cars to be precise. He is eager to create kind of drag-racing competition in order to discover which car fastest.

Each radio-contorller has an HTTP-compatible interface. It's let you to start or stop engine of the car and of course enable "driving" mode.

Your task is to create SPA to manage the collection of the cars, operate its engines, and show races statistics.

Previously development of this application has been started by some belarusian developer Dzmitry (and was almost finished). But his laptop ๐Ÿ’ป was stolen by bad guys. And we don't have any sources of UI ๐Ÿ˜ž. But fortunately he has recorded some demo before. And also he has stored the server-mock in his https://github.com/mikhama/async-race-api.

We have found in the latest news that a new company called "The Fast and the Furious" announced about releasing a new product that will really blow people's minds. There is no a lot of info about this product. All we know it's about "easier cars' management that you can imagine". It's exactly our thiefs :suspect:. They're going to release their product in two weeks. But we can't allow them to do that. We must be first.

What are you waiting for? Let's coding

How to start?

Setup and Running server

  1. Use node 14.x or higher.
  2. Clone this repo: $ git clone https://github.com/mikhama/async-race-api.git.
  3. Go to downloaded folder: $ cd async-race-api.
  4. Install dependencies: $ npm install.
  5. Start server: $ npm start.
  6. Now you can send requests to the address: http://127.0.0.1:3000.

Running app

  1. Use node 14.x or higher.

  2. Clone this repo: $ git clone https://github.com/NikitaKakurin/async-race

  3. Go to downloaded folder: $ cd async-race.

  4. Install dependencies: $ npm install.

  5. Start app: $ npm run start.

  6. or simple go to deploy async-race

About

async-race


Languages

Language:TypeScript 73.0%Language:SCSS 20.4%Language:JavaScript 6.2%Language:HTML 0.5%