Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/marcosoliveira91/simple-route-progress

Simple route progress viewer using NextJS 14 App Router
https://github.com/marcosoliveira91/simple-route-progress

nextjs14 reactjs simple-app tailwind time-based-revalidation

Last synced: about 12 hours ago
JSON representation

Simple route progress viewer using NextJS 14 App Router

Awesome Lists containing this project

README

        

This is a simple route progress exercise built with [Next.js 14](https://nextjs.org/).



## Getting Started

First, run the development server:

```bash
pnpm dev
```



### UI Sketches


UI Sketch




### Sample Response

The API endpoint returns mock data for positions on a fictional route, including your position and others.

```json
{
"routeName": "Road to Macondo",
"myPosition": 0.2,
"peopleOnRoute": [
{
"name": "Arcadio",
"position": 0.4
},
{
"name": "Úrsula",
"position": 0.25
},
{
"name": "Aureliano",
"position": 0.75
}
]
}
```