Roundest Mon is a web-based application that allows users to vote on which Pokemon they think is the roundest. The Pokemons are pulled from a database and new pair will be presented after each vote.
Note This project is still under development and has not been deployed yet. I'm still figuring out some stuff and learning many things.
Introduction
Installation
About the Project
- Visit the website (Not deployed yet) on your preferred web browser
- On the main page, you will see two randomly selected Pokemon and their images
- Cast your vote by clicking on the "Vote" button below to the Pokemon
- You can view the voting results by clicking on the "Results" link at the bottom of the page
This app was originally created by Theo @t3dotgg on his YouTube channel. I followed along with his video and built a very similar app, however I wanted to try making it on my own to see if I could do it as well. So this is the result.
git clone https://github.com/mateusabelli/roundest-next-13.git
cd roundest-next-13
npm install
mv .env.example .env
# Modify the DB URL in your .env
DATABASE_URL="sqlserver://localhost:1433;database=roundest;integratedSecurity=true;trustServerCertificate=true;"
# Check out https://www.prisma.io/docs/reference/database-reference/connection-urls
# For examples with different DB connection strings.
npm run ts-node ./lib/seed.ts
# Make sure to delete the tables if you need to run this more than once
# Start the dev server on localhost:3000
npm run dev
# Same as above but with TurboPack
npm run turbo
The app uses the PokeAPI repository to retrieve the sprites of the Pokemons.
- Built using Next.js 13
- Styled using CSS Modules
- Utilizes the PokeAPI for sprites
- The app is mobile-friendly and responsive to different screen sizes
- Utilizes Prisma ORM for flexibility to use different DBs
- Made with App directory and beta features of Next.js 13
If you would like to contribute to the development of this app, please feel free to fork the repository and make a pull request with your changes.
Pokemon is a trademark of Nintendo. This web app is not endorsed or affiliated with Nintendo in any way.
This project is licensed under the MIT License. See the LICENSE file for details.