Search…
Car Recycling - Skilavottorð

About

This app is for users to mark their car for recycling and getting info about where to leave the car.
Recycling companies that receives the physical car can login to deregister it.
The recycling fund can then see a list of recycled cars.

URLs

See role description further down.

Dev

Staging

Prod

Getting started

Web

To run locally:
1
yarn start skilavottord-web
Copied!
Navigate to:

Backend

First, make sure you have docker.
Then from the root folder go to
1
cd apps/skilavottord/ws
Copied!
and run
1
docker-compose -f docker-compose.base.yml -f docker-compose.dev.yml up -d
Copied!
Then run migrations and seed the database:
1
yarn nx run skilavottord-ws:migrate:undo:all
Copied!
1
yarn nx run skilavottord-ws:migrate
Copied!
1
yarn nx run skilavottord-ws:seed:all
Copied!
To start the application locally run:
1
yarn start skilavottord-ws
Copied!

GraphQL playground

Application

Citizen frontend

This site shows a list of vehicles that a user owns. The user can mark their car for recycling and get information on where to leave the car. While the car is in the recycling process the page will show and update the status accordingly.

Company frontend

If users are registered as an employee of a recycling company, they can log in here to deregister vehicles that citizens have marked for recycling.

Fund frontend

If users are registered as an employee of Fjársýsla ríkisins, they can log in here to see a list of all vehicles that has completed the process of being deregistered and recycled.
This page also lists all available recycling companies.

Integrations

Code owners and maintainers

The variable process.env.SKILAVOTTORD_USER_LIST

The environment variable process.env.SKILAVOTTORD_USER_LIST contains list of users with roles and partnerid (subrole). The format of the variable is like: New users can be added in this variable. {"nationalId":"1111111111","name":"Gervimaður","role":"recyclingCompany","partnerId":"999"}
Last modified 7mo ago