Parse a file following the format of Debian's /var/lib/dpkg/status
and serve a website which:
- Lists all packages
- Displays info page for each package
- Allows to navigate through package dependencies
The project is composed of a Node.js server and a React application displaying the data.
In development, the Node server is serving only the API data and the React app is served by webpack-dev-server.
Run the server:
npm run start:dev:server
Run the app:
npm run start:dev:app
You can now access the app on http://localhost:8081, which will connect to the API served on http://localhost:8080.
In production, the whole app is served on domain:8080
npm test
docker build -t dpkg-info .
docker run -p 8080:8080 -d dpkg-info
Deployment is using Zeit Now v1 with Docker.
npm run deploy