Skip to content

The open-source codebase for the Data explorer of the City of Amsterdam.

License

Notifications You must be signed in to change notification settings

lpsmitamsterdam/data-verkenner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data verkenner

The open-source codebase for the Data explorer of the City of Amsterdam; the central hub for objective, reliable and actual data, and information about Amsterdam. This explorer contains interactive data visualizations in an interactive map and tables.

Installation

Install all dependencies:

npm install

Development

Start the application:

npm start

Then, open the application in your browser at localhost:3000. In case you want to override the environment variables while developing, you can copy and rename the .env.example to .env and change the variables to your needs.

Docker

The docker-compose.yml file contains environment variable declarations that are required for the application to run in production mode. The production environment can be set up locally by running

make start

The Makefile consists of other useful commands to stop, restart and rebuild the application. To see all commands, run

make help

Testing

npm run test

E2E testing

In order to E2E test the application make sure you have a development server running locally:

npm run start

After doing this open up a new terminal and run the following commands:

npm run test:e2e

This will start the E2E test, if you want to watch for changes you can also run npm run test:e2e:watch instead.

Analyzing a production bundle

npm run analyze

Linting the code

npm run lint

Deploying to a demo server

There are three demo servers that can be deployed to, to deploy to one of these servers run the following command on your branch.

npm run deploy:demo

About

The open-source codebase for the Data explorer of the City of Amsterdam.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.8%
  • HTML 0.5%
  • JavaScript 0.2%
  • EJS 0.2%
  • Shell 0.1%
  • Makefile 0.1%
  • Dockerfile 0.1%