Skip to content

An API that serves the latest scores of fixtures of matches in a Mock Premier League

License

Notifications You must be signed in to change notification settings

ogbiyoyosky/zeus

Repository files navigation

Actions Status: Node.js CI

Zeus API

League

I have a habit of name my repositories after greek gods. What does this god do?

This god is an API that mock matches in a “Mock Premier League

Features

  • Admin accounts which are used to
    • signup/login
    • manage teams (add, remove, edit, view)
    • create fixtures (add, remove, edit, view)
    • Generate unique links for fixture
  • Users accounts who can
    • signup/login
    • view teams
    • view completed fixtures
    • view pending fixtures
    • robustly search fixtures/teams
  • Only the search API should be availble to the public.

Authentication and Session Management

  1. Use redis as your session store.
  2. Authentication and Authorization for admin and user accounts should be done using Bearer token and JWT.

Tools/Stack

  • NodeJs (JavaScript or TypeScript)
  • MongoDB
  • Redis
  • Docker
  • POSTMAN
  • Jest
  • Express

Starting the application locally

  1. Clone repo

git clone https://github.com/ogbiyoyosky/zeus.git

  1. run npm install

  2. create a .env

  3. npm run seed

  4. run npm run dev

Running test

1. `npm test'
2. 'npm run coverage`

Starting application docker-compose

building the app

run docker-compose up --build

The above command spin up mongodb, redis and the application.

API DOCUMENTATION URL

https://documenter.getpostman.com/view/6226738/TVRhboz8

AUTHOR

Ogbiyoyo, Emmanuel Ighosode

About

An API that serves the latest scores of fixtures of matches in a Mock Premier League

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages