Skip to content

e11sy/ploshadka.web

Repository files navigation

Ploshadka API

Ploshadka API is a backend service created for studying purposes as part of a sports leisure organization service. This project provides functionalities such as:

  • Organization of events
  • Management of stored sport courts
  • User authorization via Google API

Features

  • Event Management: API endpoints to create, update, and manage sports events.
  • Court Listings: Access and manage a database of available sports courts.
  • Google Authorization: Integrates with Google API for secure user authentication.

Requirements

  • Node.js
  • Yarn (dependency manager)
  • Redis (v3.x or v4.x depending on your setup)
  • TypeScript
  • Google API credentials

Setup

  1. Clone the repository:
    git clone https://github.com/yourusername/ploshadka.api.git
    cd ploshadka.api
  2. Install dependencies:
    yarn install
  3. Configure the environment variables:
    • Copy the .env.sample file to .env:
      cp .env.sample .env
    • Update the .env file with your configurations:
      VITE_API_URL=your-api-url
      VITE_GOOGLE_OAUTH_URL=your-client-id
      VITE_PRODUCTION_HOSTNAME=your-project-host
  4. Start the development server:
    yarn dev
    or
    yarn start

Note

This project is for learning purposes only and is not intended for production use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published