Skip to content

FalkenDev/SparkRentals-Admin-Dashboard

Repository files navigation

Admin Dashboard for SparkRentals Project

Content

About

This project is created by 4 students who attend Blekinge Institute of Technology in web programming. We were given the task of creating a system for a scooter company where we would, among other things, create a mobile-adapted web app for the customer, administrative web interface, a simulation program for the electric scooters, an intelligence program in the bicycle and a Rest API that distributes and retrieves information from the entire system and stores the information on a database.

The entire project is available at: https://github.com/FalkenDev/V-Team-SparkRentals

Background

Admin dashboard will be a website where admin can log in and manage the system. Admin will be able to manage all cities, scooters and user accounts in the system. On the first page, it should be possible to view general information about all registered cities, scooters and users. There will be sub-pages for map, urban areas, scooters and customers. Each page has a purpose for the user to be able to oversee and manage the area the page covers.

The page will be made with ReactJs and retrieve data from our REST API. Tailwind will be used as CSS framework for the style. The React router library will be used for navigation because React does not have page routing from the start.

Admin Dashboard Design

Download

Required environment variables

.env:

# Rest API
REACT_APP_REST_API_KEY="React API KEY"
REACT_APP_API_URL="http://localhost:8393/v1"

# Configs
# For the Live Preview Map Update
REACT_APP_MAP_UPDATE_INTERVAL_BOOLEAN=1
REACT_APP_MAP_UPDATE_INTERVAL=1000

Run it localy

  • Fork the project / donwload the project.

npm install

  • Create .env file and insert the environment variables and change the inputs.

npm start

Run it on Docker

OPS! Don't forget to send your env file in docker run command

docker run -it jamestjata01/spark-rentals-admin-dashboard:latest

Usage

To use the Admin Dashboard: http://localhost:3000

License and Tools

JWT NPM React ESLint Docker JavaScript TailwindCSS

Scrutinizer Code Quality Build Status

About

Admin Dashboard for SparkRentals. Programmed in React.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •