Skip to content

Commit

Permalink
Merge pull request #2 from nsidc/map
Browse files Browse the repository at this point in the history
Add a map with points from API
  • Loading branch information
mfisher87 authored Jul 16, 2024
2 parents 214f7b5 + 5dd6733 commit fe397d1
Show file tree
Hide file tree
Showing 17 changed files with 1,283 additions and 929 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
project: ['./tsconfig.json', './tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: __dirname,
},

Expand All @@ -18,6 +18,7 @@ module.exports = {
'import',
'flowtype',
'jsx-a11y',
'@stylistic',
// 'jest',
// 'testing-library',

Expand Down Expand Up @@ -116,6 +117,9 @@ module.exports = {
// ], // default "error"
'no-useless-constructor': 'off',
// '@typescript-eslint/no-useless-constructor': 'warn', // default "error"

'@stylistic/no-tabs': 'error',


/*
// migrated from:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ data on a map and bar charts.

_Part of the [AROSS Stations](https://github.com/nsidc/aross-stations) project._

> [!IMPORTANT]
> The [database and API](https://github.com/nsidc/aross-stations-db) must be running on
> `localhost`.

## Usage

Expand All @@ -24,7 +28,7 @@ development, requires [NodeJS](https://nodejs.org/en) >=20.
### Starting the UI

```bash
docker compose up --detach
docker compose up --pull=always --detach
```

Visit the running application at `http://localhost:80`.
Expand Down
6 changes: 5 additions & 1 deletion compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ services:
args:
- "env=dev"
restart: "on-failure"
ports:
ports: !override
# 5173 is Vite dev server's default port
- "80:5173"
volumes:
- "./src:/app/src:ro"
- "./index.html:/app/index.html:ro"
- "./.eslintrc.cjs:/app/.eslintrc.cjs:ro"
- "./vite.config.ts:/app/vite.config.ts:ro"
- "./tsconfig.json:/app/tsconfig.json:ro"
- "./tsconfig.app.json:/app/tsconfig.app.json:ro"
- "./tsconfig.node.json:/app/tsconfig.node.json:ro"
Loading

0 comments on commit fe397d1

Please sign in to comment.