grofers-assignment's Introduction
Hello, my name is Ishani. I am a CSE undergraduate from IIITD and a budding backend developer. This repository contains the backend framework of a Lucky Draw Gaming Service. Users can use this service to get raffle tickets and win prizes. I have implemented 5 APIs, which carry out the following functions respectively: * Allows users to get raffle tickets * Shows the date, timing and prize of the next lucky draw event * Allows users to participate in the game only once in a single event. If the user has already registered for the event, it will show “already registered”. * Lists all the winners of all the events over the last week. * To compute and announce the winner of the event . To run these APIs easily use postman. Postman can be installed using the following command: sudo snap install postman pip install Flask TechStack: Flask, MySQL, Numpy, Pyodbc, sql-server View Engine: Postman STEPS TO RUN AND EXECUTE THE PROGRAM- 1. Clone the repository 2. CREATE db 3. Run db_init.py to initialize the database. 4. Run server.py to run API server. 5. APIs could be accessed at http://localhost:5000 6. Postman can be used to test/run the APIs. In db.py the database creation and updation process is taking place. * Get winner- provides the winner list of event winners. * For ticket_id- random hexadecimal value is assigned to the user.
grofers-assignment's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.