Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwithmichael/anime-battle
Code for the anime-battle website. It lets users vote for their favorite anime characters.
https://github.com/cwithmichael/anime-battle
neondb nextjs nodejs oauth2 postgresql vercel
Last synced: about 1 month ago
JSON representation
Code for the anime-battle website. It lets users vote for their favorite anime characters.
- Host: GitHub
- URL: https://github.com/cwithmichael/anime-battle
- Owner: cwithmichael
- License: mit
- Created: 2024-12-24T21:34:08.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-27T22:54:06.000Z (about 1 month ago)
- Last Synced: 2024-12-27T23:36:41.673Z (about 1 month ago)
- Topics: neondb, nextjs, nodejs, oauth2, postgresql, vercel
- Language: TypeScript
- Homepage: https://anime-battle.vercel.app
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anime Battle
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
If you want to run this locally, you'll need to run migrations with a local PostgreSQL instance. Add your DATABASE_URL value to an .env.local file and run
> npx prisma migrate dev
Disable auth to avoid having to deal with OAuth
## TODO
- [ ] Improve UX
- [ ] Add tests
- [ ] Add more OAuth options
- [ ] Engage with analytics for adding more stats than just number of votes?