Skip to content

Abhinav4952/predict2win-service

 
 

Repository files navigation

Predict2Win Application:-

Predict2Win provides Web Application to allow users to predict to questions which allow users to participate in a collaborative platform which can be like a social gaming .It mainly contain 3 types of users:-

  • Admin:- He can control the state of league admin and list all the active leagues and view league dashboards. Can approve or reject leagues.

  • League Admin: He can add a new league, View his own league dashboard, Minimum details of participated users

  • User: He can participate in leagues by paying amount from his wallet for paid leagues and free leagues he can join directly and view his own participated events.

Web Service API will be protected in both authentication and authorization using JWT token and Email service will also be integrated for sending Emails with the help of Send Grid SMTP Service.


Features:-

UI Development:-

Created Frontend UI using React JS, React Hooks, React Router, Used Material UI

API Development:-

Using Express JS MVC approach

API Documentation:-

API Documentation is created with the help of swagger and accessible at /api/v1/api-docs

Schema Validation:-

Schema validation is implemented using JOI

Mailing:-

Implemented using node mailer library and Send Grid mail service

Two way communication:-

Application will use a Socket communication for two way communication using socket.io

ORM Implementation:-

Connected to MongoDB with the help of Mongoose

Database:-

MongoDB

Authentication:-

Using JWT and Authorization using Middleware's

SSO:-

Single Sign on with google account using React google login library

Hosting:-

Hosted on Heroku Cloud with CI/CD Deployment

Data Seeding:-

Scripts to seed data


For initial data it can be seeded using code present in separate branch feature/seed-data

Steps for seeding data:-

  1. Checkout to branch feature/seed-data

  2. switch to utils/data-seeding

  3. run node index.js

Database:- MongoDB Cloud

Website is available on https://enigmatic-temple-25922.herokuapp.com/

About

How to implement dynamic advanced pagination in MERN applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.0%
  • CSS 2.2%
  • HTML 0.8%