Tiny lit-element based app about a fictional garage
-
Cars:
- Show cars from the garage ordered by the date they were added in the garage
- Present car details in a modal dialog
- Add a car to shopping cart
-
Shopping cart:
- Show cars from shopping cart
- Delete cars from shopping cart
- Add unit tests :D
- Add progress indicators
- Show car location on map
- Maybe use some api to fetch image using car data.
- Create own theme by extending @lion components
- Dockerize or deploy to AWS.
Run npm i.
The used npm version is 6.13.4.
Obs:
- Development was conducted using node
v14.16.1with npm6.14.22. I recommend using the same for node at least. - The testing browser was Chrome v90.
Run client and server in separate terminal windows.
Run npm run start-server.
Run npm start
Open localhost:8000
Run npm run lint
Run npm run format
For testing purposes the build will move the rollup output under the apollo-server and will serve the files from the same static express as the json file.
The latest version of build is already available by navigating to localhost:3001/public after apollo server is started.
In case you want to rebuild please run npm run build then navigate to localhost:3001/public.