Coder Social home page Coder Social logo

kolezhanchik / platform-services-registry-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bcgov/platform-services-registry-web

0.0 0.0 0.0 1.58 MB

Platform services registry frontend

License: Apache License 2.0

JavaScript 98.59% CSS 0.47% HTML 0.94%

platform-services-registry-web's Introduction

How to run the project locally

  • Frist, make sure the api is already running at http://localhost:4000. This is a required step as the front end needs to fetch the graphql schema from the API. The front end will use the graphql schema to generate form validation schema (whit the yup package). This ensures that the forms on the front end include all the fields required by the various API endpoints.

  • This project requires a specific version of node. If you use the latest version of node it will fail as some of the keyclaok packages, which are required for this app will break. The requried node version is lts/gallium . You can change your node version by running the following in the root folder of this repository: npx use lts/gallium. Note the use of npx and not npm. It is possible that you do not have this node version installed, in which case follow the prompts to install it.

  • Install all packages with npm i

  • Execute the following command while in the root folder of this repository npm run generate. This will automatically fetch teh graphql shcema from the API in order to generate the frontend form schema.

  • Finally, run the following npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

platform-services-registry-web's People

Contributors

okanji avatar w8896699 avatar kolezhanchik avatar shovelhand avatar repo-mountie[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.