Giter Club home page Giter Club logo

react-carpark-info's Introduction

ispark-carpark-info

Visit my deployed solution on Heroku: https://ispark-carpark-info.herokuapp.com

/frontend folder contains the React.js related source code.

/build directory is the production build of the app

/src/App.js contains all the components that is rendered in the page
            The class has data, district and ParkID in it's state
            I set the data in the state with a GET method done to api/data
            Then, I use this data that comes from the backend
            Accordingly, I create district and car park options in form components
            I show the location of the selected car park using Google Maps API

/src/index.js sets where to render App.js component by calling render from ReactDOM

/public has manifest.json that gives information about the app to the web browser
        and index.html that has the title of the app and a link to manifest

/package.json contains the dependencies of frontend

backend.js is the server side code I used Node.js and Express in the backend From the IBB Acik Veri Portali API, I get the data using request function I set the environment variable PORT here and I listen it with app.listen() I use Express middleware functions for production I load the files in frontend/build using express.static

package.json file contains the dependencies of the app I also set start and heroku-postbuild here When working on local run "yarn" in frontend folder and in main project folder Then, "yarn dev" is enough

react-carpark-info's People

Contributors

ilkyazar avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  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.