Skip to content

victor-devv/mock-premier-league

Repository files navigation

Mock-Premier-League

API that exposes endpoints to create users, teams and fixtures for a Mock Premier League

Hosting

The API is hosted on AWS at http://3.12.152.204:3500/api/v1

User Stories

Admin accounts

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

Users accounts

  • signup/login
  • view teams
  • view completed fixtures
  • view pending fixtures
  • search fixtures/teams

Stack

  • NodeJs
  • TypeScript
  • Express
  • MongoDB
  • Redis
  • Docker
  • POSTMAN
  • Jest

Requirements and Installation

To run this API:

  • Clone this repository
  • Run docker compose up --build
  • Run 'npm install' in the root of the project
  • Create .env file (check .env.example for sample)
  • Run 'npm run dev' or 'npm run prod' depending on the environment
  • To test, run 'npm run test'

Test Credentials

- email `[email protected]`
- password `@dm1nAutH`

Documentation

https://documenter.getpostman.com/view/11551727/UVkjwJFv

Author

Victor Ikuomola ([email protected])

About

Mock Premier League API built with Node.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published