Skip to content

An API that serves the latest scores of fixtures of matches in a “Mock Premier League”. Jwt Authentication with Node.js, Typegoose, mongoDB, Mongoose, Docker, Redis, and JsonWebToken

Notifications You must be signed in to change notification settings

iphyokafor/premier_league_api

Repository files navigation

premier_league_api

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

It is built on top of NodeJS, Express, Typegoose, mongoDB, Mongoose, Docker, Redis, and JsonWebToken. It is higly flexible because it provides the following 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.

Getting Started

To obtain the postman documentation url

To obtain a copy of this app download or clone the repository at this url

To obtain the link to deployment on heroku url

Prerequisites

You must have

  • NodeJs Installed
  • A browser Installed
  • An Internet connection to download the dependencies.

Installing locally

  • (If the repository wasn't cloned)Extract the contents of the downloaded zip file into any suitable location on the computer
  • In the command prompt, cd to the root of the directory you extracted the app into
  • Run 'npm install' to install all dependencies
  • Run 'npm run start:dev' to start the application
  • In a browser address bar navigate to http://localhost:${PORT} with your preferred PORT on env

Docker

  • To start the docker containers on your terminal run docker-compose up -d

Test

  • To execute tests, on your terminal run npm run test

Built With

  • NodeJs
  • Express
  • Typescript
  • Mongodb(database)
  • typegoose
  • Deployed on Heroku

Author

About

An API that serves the latest scores of fixtures of matches in a “Mock Premier League”. Jwt Authentication with Node.js, Typegoose, mongoDB, Mongoose, Docker, Redis, and JsonWebToken

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages