A reference UI to be used in conjunction with a Helium-based REST API
Перейти к файлу
Mel Rush de1d175838
No more duplicates! The Ultimate Refresh. (#15)
* fixed: doesn't delete movie on Cancel button from edit

* potential fix

* cleaning code, making editmovie setstate

* fixed filter of genres so remove works

* removing console.logs, cleaning lines

* Scrolly polly olly! scroll works for roles what a party

* THE FIX

:

* no longer need scroll package. solution from CSS

* changing color of genres
2019-07-15 10:44:30 -06:00
public Delete UI Elements and Refactoring (#6) 2019-06-03 10:01:30 -06:00
src No more duplicates! The Ultimate Refresh. (#15) 2019-07-15 10:44:30 -06:00
.gitignore gitignore update 2019-05-10 09:57:23 -06:00
Dockerfile Dockerfile (#5) 2019-06-10 13:30:28 -06:00
LICENSE Initial commit 2019-05-09 09:44:24 -07:00
README.md Dockerfile (#5) 2019-06-10 13:30:28 -06:00
package-lock.json No more duplicates! The Ultimate Refresh. (#15) 2019-07-15 10:44:30 -06:00
package.json POST functionality and UI elements (#4) 2019-05-23 09:55:34 -06:00
tsconfig.json react base' 2019-05-09 13:11:50 -06:00

README.md

Helium UI

Helium UI is a React application built in TypeScript created to test and display REST API endpoints. Helium UI's core functionality includes:

  • Display all movies from endpoint (GET)
  • Add a new movie to the list of movies (POST)
  • Delete a movie from the list of movies (DELETE) - in progress

Packages Used:

  • Material UI - Styling of the application
  • Axios - Performing CRUD requests and operations
  • Formik - Handling state using React Forms and Dialogs

Getting Started

Run Locally with npm

  1. Clone the repository
  2. Open a terminal in the local respository directory
  3. Run the application using
npm build && npm start

Run Locally with Docker

  1. Clone the repository
  2. Open a terminal in the local repository directory
  3. Build the application using
docker build -t helium-ui .
  1. Run the application using
docker run -it -P helium-ui

In another terminal, run:

docker ps

Output will show the port number the image is running on:

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                  
1dafc0296c23        helium-ui           "npm start"              24 seconds ago      Up 23 seconds       0.0.0.0:32770->3000/tcp
  1. In a browser, navigate to http://localhost:<port number from previous step> and the Helium UI should appear.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.