Git Product home page Git Product logo

api-geojson's Introduction

API

A parte de front para rodar acesse a raiz do projeto no terminal e rode os seguintes comandos

docker build -t my-api-app .

docker run -p 3000:3000 my-react-app


A parte de back vai ser rodadas com os comandos

docker build -t my-api_back-app .

docker run -p 3000:3000 my-api_back-app


Scripts caso for rodar localmente

No diretório do seu projeto voce pode rodar

npm start (Isso para o front)

Iniciara o host.
http://localhost:3000 e gera uma view no seu browser.

npm install

Que precisara rodar para instalar as seguintes dependencia ou pode adicionar no arquivo package-lock.json a seguinte estrutura

    "axios": "^1.3.6", "leaflet": "^1.9.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-leaflet": "^4.2.1", "react-leaflet-draw": "^0.20.4", "react-router-dom": "^6.4.4", "react-scripts": "5.0.1", "web-vitals": "^2.1.4"

Para o back fara preciso rodar ### npm run dev

E instlar as seguintes dependencia no arquivo package-lock.json

    "body-parser": "^1.20.2", "cors": "^2.8.5", "dotenv": "^16.0.3", "express": "^4.18.2", "fileupload": "^1.0.0", "mongodb": "^5.3.0", "mongoose": "^7.0.4", "mongose": "^0.0.2-security", "node-geocoder": "^4.2.0", "router": "1.3.8", "session": "^0.1.0"

api-geojson's People

Contributors

41isson avatar 4l1son avatar

Watchers

 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.