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

Setup

Please fetch environment secret variables using the yarn get-secrets skilavottord-ws command.
Additionally add the following environment variables to .env.secret in the project's root:
1
export NEXTAUTH_URL=http://localhost:4200/app/skilavottord/api/auth
Copied!

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 up
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