https://github.com/0xdebugit/predict-game
https://github.com/0xdebugit/predict-game
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/0xdebugit/predict-game
- Owner: 0xdebugit
- Created: 2023-02-03T17:19:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T17:54:51.000Z (about 3 years ago)
- Last Synced: 2023-08-29T14:53:06.376Z (over 2 years ago)
- Language: JavaScript
- Homepage: https://predict-game.vercel.app
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) and used tailwind for styling
## Online Demo
The mock version of this UI is hosted at [https://predict-game.vercel.app/](https://predict-game.vercel.app/)
## Run Locally
**Setup REST API**
1.Run Python Flask REST API
```bash
python programming_exercises_full_stack.py
```
Note : It runs default on port 5000
**Setup Front-end**
1.Switch to ~/predict-game directory by using command : cd {PATH}
2.Install Packages
```bash
npm install
```
3. Verify if flask is being served at port 5000, if not then update the port number in next.config.js file in the {destination} attribute
4. Run the development server:
```bash
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Sample Result
Checkout two snapshot sample_1.png & sample_2.png