An open API service indexing awesome lists of open source software.

https://github.com/baudom/easytank

Next.js, nominatim and tankerkoenig powered gas station finder
https://github.com/baudom/easytank

mantine-ui nextjs openstreetmap-data pwa react semantic-release tankerkoenig-api umami umami-analytics

Last synced: about 1 month ago
JSON representation

Next.js, nominatim and tankerkoenig powered gas station finder

Awesome Lists containing this project

README

          

# easytank

_yes, another gas station finder 😆_

**Powered by**

- ⚡ [Next.js][next_home] project bootstrapped with [create-next-app][create-next-link_home] and [mantine][mantine_home]
- ⛽ [Tankerkoenig API][tankerkoenig_home]
- 🌍 [Nominatim OpenStreetMap][nominatim_home]

## Environment configuration

```dotenv
# default values
NEXT_PUBLIC_NAME=$npm_package_name
NEXT_PUBLIC_HOMEPAGE=$npm_package_homepage
NEXT_PUBLIC_VERSION=$npm_package_version
NEXT_PUBLIC_AUTHOR=$npm_package_author_name
NEXT_PUBLIC_AUTHOR_URL=$npm_package_author_url
NEXT_PUBLIC_REPOSITORY_URL=$npm_package_repositoryUrl

# .env.local config
TRACKING_API_HOST=your-api-host
TRACKING_API_KEY=your-api-key
TANKERKOENIG_API_KEY=your-api-key
NOMINATIM_USER_AGENT=your-user-agent
NEXT_PUBLIC_CONTACT_MAIL=your@contact.mail
NEXT_PUBLIC_STATUS_URL=https://status.your.domain
NEXT_PUBLIC_RYD_LINK=https://ryd.one/your-link
```

## GitHub CI/CD Environment Configuration

The following secrets / variables must be set within github

```dotenv
# variables
NODE_LTS_VERSION=24
```

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`][next_font] to automatically optimize and
load Nunito, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation][next_docs] - learn about Next.js features and API.
- [Learn Next.js][next_learn] - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository][next_repo] - your feedback and contributions are welcome!

[next_home]: https://nextjs.org

[create-next-link_home]: https://github.com/vercel/next.js/tree/canary/packages/create-next-app

[mantine_home]: https://mantine.dev

[tankerkoenig_home]: https://creativecommons.tankerkoenig.de/

[nominatim_home]: https://nominatim.openstreetmap.org

[next_font]: https://nextjs.org/docs/basic-features/font-optimization

[next_docs]: https://nextjs.org/docs

[next_learn]: https://nextjs.org/learn

[next_repo]: https://github.com/vercel/next.js