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”
- 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.
- Use redis as your session store.
- Authentication and Authorization for admin and user accounts should be done using
Bearer token
andJWT
.
- NodeJs (JavaScript or TypeScript)
- MongoDB
- Redis
- Docker
- POSTMAN
- Jest
- Express
- Clone repo
git clone https://github.com/ogbiyoyosky/zeus.git
-
run
npm install
-
create a .env
-
npm run seed
-
run
npm run dev
1. `npm test'
2. 'npm run coverage`
building the app
run docker-compose up --build
The above command spin up mongodb, redis and the application.
https://documenter.getpostman.com/view/6226738/TVRhboz8
Ogbiyoyo, Emmanuel Ighosode