Skip to content

OdunayoOkebunmi/Mock-Premier-League-BE

Repository files navigation

Mock-Premier-League-BE

Build Status

License: MIT

Server side hosted on Heroku

https://mock-premier-league-be.herokuapp.com/

API Documentation

https://documenter.getpostman.com/view/10230743/T1DjiybW

Table of Content

Getting Started

Tools/Stacks

  1. Node js
  2. Express
  3. MongoDB
  4. Docker
  5. Redis
  6. Postman
  7. Jest

Setting up

  1. Clone this repository into your local machine:
e.g git clone https://github.com/OdunayoOkebunmi/Mock-Premier-League-BE
  1. cd into the folder
e.g cd Mock-Premier-League-BE
  1. Create .env file and fill out the required information
e.g cp .env.example .env
  1. Install dependencies
e.g npm install
  1. Start the application by running the server script.
e.g npm run server
  1. Install postman to test all endpoints on port 5000.

  2. Run docker-compose up

  3. Rate Limiting has been set up to manage requests made to the APIs.

Test

run test using npm test.

Linting Style

  • ESLint with Airbnb style guide.

Features

Admin

  • Admin can signup/login
  • Admin can manage teams (add, remove, edit, view) 
  • Admin can create fixtures (add, remove, edit, view)
  • Admin can Generate unique links for fixture 

Users

  • A user can signup/login

  • A user can view teams

  • A user can view completed fixtures

  • A user can view pending fixtures

  • A user can robustly search fixtures/teams

  • Only the search API should be available to the public.

License

This project is licensed under the MIT license - see the LICENSE.md file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published